trifid/.builds/check.yml

45 lines
1.4 KiB
YAML

image: archlinux
packages:
- openssl
- go
- musl
- clang
sources:
- https://git.e3t.cc/~core/trifid
tasks:
- setup: |
ping -c 1 1.1.1.1
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 --target x86_64-unknown-linux-musl
cargo clippy --target x86_64-unknown-linux-musl
- check-nebula-ffi: |
source ~/.cargo/env
cd /home/build/trifid/nebula-ffi
cargo check --target x86_64-unknown-linux-musl
cargo clippy --target x86_64-unknown-linux-musl
- check-tfcli: |
source ~/.cargo/env
cd /home/build/trifid/tfcli
cargo check --target x86_64-unknown-linux-musl
cargo clippy --target x86_64-unknown-linux-musl
- check-tfclient: |
source ~/.cargo/env
cd /home/build/trifid/tfclient
cargo check --target x86_64-unknown-linux-musl
cargo clippy --target x86_64-unknown-linux-musl
- check-trifid-api: |
source ~/.cargo/env
cd /home/build/trifid/trifid-api
cargo check --target x86_64-unknown-linux-musl
cargo clippy --target x86_64-unknown-linux-musl
- check-trifid-pki: |
source ~/.cargo/env
cd /home/build/trifid/trifid-pki
cargo check --target x86_64-unknown-linux-musl
cargo clippy --target x86_64-unknown-linux-musl