Skip to content

Commit

Permalink
Add srht build configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
  • Loading branch information
matthiasbeyer committed Mar 13, 2021
1 parent 2921c53 commit 2d77910
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .builds/debian.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
image: debian/buster
sources:
- https://git.sr.ht/~matthiasbeyer/config-rs-maint
tasks:
- install: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.50.0
- build: |
cd config-rs-maint
PATH="$HOME/.cargo/bin:$PATH" cargo build --all --all-features
- test: |
cd config-rs-maint
PATH="$HOME/.cargo/bin:$PATH" cargo test --all --all-features
- clippy: |
cd config-rs-maint
PATH="$HOME/.cargo/bin:$PATH" rustup component add clippy
PATH="$HOME/.cargo/bin:$PATH" cargo clippy --all --all-targets --all-features -- -D warnings
- fmt: |
cd config-rs-maint
PATH="$HOME/.cargo/bin:$PATH" rustup component add rustfmt
PATH="$HOME/.cargo/bin:$PATH" cargo fmt -- --check
triggers:
- action: email
condition: always
to: mail@beyermatthias.de

0 comments on commit 2d77910

Please sign in to comment.