Browse Source

Add sourcehut build file.

tags/0.1.1^2
Bèr Kessels 2 months ago
parent
commit
a6ca38a4cb
1 changed files with 20 additions and 0 deletions
  1. 20
    0
      .build.yml

+ 20
- 0
.build.yml View File

@@ -0,0 +1,20 @@
image: ubuntu/lts
packages:
- curl
sources:
- https://git.sr.ht/~berkes/blek
environment:
PROJECT_NAME: blek
artifacts:
- "$PROJECT_NAME/target/release/blek"
tasks:
- setup: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- test: |
export PATH="/home/build/.cargo/bin:$PATH"
cd "$PROJECT_NAME"
cargo test --verbose
- build: |
export PATH="/home/build/.cargo/bin:$PATH"
cd "$PROJECT_NAME"
cargo build --release --verbose

Loading…
Cancel
Save