2023-06-26 18:46:59 +00:00
|
|
|
image: archlinux
|
2023-06-26 18:44:16 +00:00
|
|
|
packages:
|
2023-06-26 18:46:59 +00:00
|
|
|
- openssl
|
2023-06-26 18:44:16 +00:00
|
|
|
- go
|
2023-06-26 22:27:37 +00:00
|
|
|
- musl
|
2023-06-26 22:35:18 +00:00
|
|
|
- clang
|
2023-06-26 18:44:16 +00:00
|
|
|
sources:
|
|
|
|
- https://git.e3t.cc/~core/trifid
|
|
|
|
tasks:
|
|
|
|
- setup: |
|
2023-06-26 18:51:09 +00:00
|
|
|
ping -c 1 1.1.1.1
|
2023-06-26 18:44:16 +00:00
|
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
|
|
|
source ~/.cargo/env
|
|
|
|
rustup target add x86_64-unknown-linux-musl
|
2023-06-26 18:45:14 +00:00
|
|
|
- check-dnapi-rs: |
|
2023-06-26 18:44:16 +00:00
|
|
|
source ~/.cargo/env
|
|
|
|
cd /home/build/trifid/dnapi-rs
|
2023-06-26 23:32:54 +00:00
|
|
|
cargo check --locked --target x86_64-unknown-linux-musl
|
2023-06-26 18:44:16 +00:00
|
|
|
cargo clippy --locked --target x86_64-unknown-linux-musl
|
2023-06-26 18:45:14 +00:00
|
|
|
- check-nebula-ffi: |
|
2023-06-26 18:44:16 +00:00
|
|
|
source ~/.cargo/env
|
|
|
|
cd /home/build/trifid/nebula-ffi
|
2023-06-26 23:32:54 +00:00
|
|
|
cargo check --locked --target x86_64-unknown-linux-musl
|
2023-06-26 18:44:16 +00:00
|
|
|
cargo clippy --locked --target x86_64-unknown-linux-musl
|
2023-06-26 18:45:14 +00:00
|
|
|
- check-tfcli: |
|
2023-06-26 18:44:16 +00:00
|
|
|
source ~/.cargo/env
|
|
|
|
cd /home/build/trifid/tfcli
|
2023-06-26 23:32:54 +00:00
|
|
|
cargo check --locked --target x86_64-unknown-linux-musl
|
2023-06-26 18:44:16 +00:00
|
|
|
cargo clippy --locked --target x86_64-unknown-linux-musl
|
2023-06-26 18:45:14 +00:00
|
|
|
- check-tfclient: |
|
2023-06-26 18:44:16 +00:00
|
|
|
source ~/.cargo/env
|
|
|
|
cd /home/build/trifid/tfclient
|
2023-06-26 23:32:54 +00:00
|
|
|
cargo check --locked --target x86_64-unknown-linux-musl
|
2023-06-26 18:44:16 +00:00
|
|
|
cargo clippy --locked --target x86_64-unknown-linux-musl
|
2023-06-26 18:45:14 +00:00
|
|
|
- check-trifid-api: |
|
2023-06-26 18:44:16 +00:00
|
|
|
source ~/.cargo/env
|
|
|
|
cd /home/build/trifid/trifid-api
|
2023-06-26 23:32:54 +00:00
|
|
|
cargo check --locked --target x86_64-unknown-linux-musl
|
2023-06-26 18:44:16 +00:00
|
|
|
cargo clippy --locked --target x86_64-unknown-linux-musl
|
2023-06-26 18:45:14 +00:00
|
|
|
- check-trifid-pki: |
|
2023-06-26 18:44:16 +00:00
|
|
|
source ~/.cargo/env
|
|
|
|
cd /home/build/trifid/trifid-pki
|
2023-06-26 23:32:54 +00:00
|
|
|
cargo check --locked --target x86_64-unknown-linux-musl
|
2023-06-26 18:44:16 +00:00
|
|
|
cargo clippy --locked --target x86_64-unknown-linux-musl
|