2023-03-31 16:14:33 +00:00
|
|
|
image: alpine/3.17
|
2023-03-31 15:54:04 +00:00
|
|
|
packages:
|
2023-03-31 16:14:33 +00:00
|
|
|
- openssl-dev
|
2023-03-31 15:54:04 +00:00
|
|
|
sources:
|
|
|
|
- https://git.e3t.cc/~core/trifid
|
|
|
|
tasks:
|
2023-03-31 16:11:29 +00:00
|
|
|
- setup: |
|
2023-03-31 16:15:40 +00:00
|
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
2023-03-31 16:17:02 +00:00
|
|
|
source ~/.cargo/env
|
2023-03-31 16:14:33 +00:00
|
|
|
rustup target add x86_64-unknown-linux-musl
|
2023-03-31 15:54:04 +00:00
|
|
|
- check: |
|
2023-03-31 16:17:02 +00:00
|
|
|
source ~/.cargo/env
|
2023-03-31 15:54:04 +00:00
|
|
|
cd /home/build/trifid/tfclient
|
2023-03-31 16:14:33 +00:00
|
|
|
cargo check --locked --target x86_64-unknown-linux-musl
|
|
|
|
cargo clippy --locked --target x86_64-unknown-linux-musl
|