This commit is contained in:
c0repwn3r 2023-06-26 14:44:16 -04:00
parent dbb7fd445d
commit 5c75a9fa25
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 47 additions and 0 deletions

47
.builds/check.yml Normal file
View File

@ -0,0 +1,47 @@
image: alpine/3.17
packages:
- openssl-dev
- go
sources:
- https://git.e3t.cc/~core/trifid
tasks:
- setup: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source ~/.cargo/env
rustup target add x86_64-unknown-linux-musl
- check/dnapi-rs: |
source ~/.cargo/env
cd /home/build/trifid/dnapi-rs
cargo check --locked --target x86_64-unknown-linux-musl
cargo build --locked --target x86_64-unknown-linux-musl
cargo clippy --locked --target x86_64-unknown-linux-musl
- check/nebula-ffi: |
source ~/.cargo/env
cd /home/build/trifid/nebula-ffi
cargo check --locked --target x86_64-unknown-linux-musl
cargo build --locked --target x86_64-unknown-linux-musl
cargo clippy --locked --target x86_64-unknown-linux-musl
- check/tfcli: |
source ~/.cargo/env
cd /home/build/trifid/tfcli
cargo check --locked --target x86_64-unknown-linux-musl
cargo build --locked --target x86_64-unknown-linux-musl
cargo clippy --locked --target x86_64-unknown-linux-musl
- check/tfclient: |
source ~/.cargo/env
cd /home/build/trifid/tfclient
cargo check --locked --target x86_64-unknown-linux-musl
cargo build --locked --target x86_64-unknown-linux-musl
cargo clippy --locked --target x86_64-unknown-linux-musl
- check/trifid-api: |
source ~/.cargo/env
cd /home/build/trifid/trifid-api
cargo check --locked --target x86_64-unknown-linux-musl
cargo build --locked --target x86_64-unknown-linux-musl
cargo clippy --locked --target x86_64-unknown-linux-musl
- check/trifid-pki: |
source ~/.cargo/env
cd /home/build/trifid/trifid-pki
cargo check --locked --target x86_64-unknown-linux-musl
cargo build --locked --target x86_64-unknown-linux-musl
cargo clippy --locked --target x86_64-unknown-linux-musl