diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2025-09-22 21:20:47 +0200 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2025-09-22 22:33:56 +0200 |
| commit | 18aab64a61b2914ffa724d5f7bf1485e0bed415f (patch) | |
| tree | 03f4fca667ede5da9416c33b3f9700a434a7da1d /.build.yml | |
| parent | chore: remove AUR related stuff (diff) | |
| download | iced-builder-18aab64a61b2914ffa724d5f7bf1485e0bed415f.tar.gz | |
feat: add build manifest
Diffstat (limited to '')
| -rw-r--r-- | .build.yml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..b372f07 --- /dev/null +++ b/.build.yml @@ -0,0 +1,46 @@ +image: ubuntu/noble +packages: + - rustup + - pkg-config + - libxkbcommon-dev + - libssl-dev + - clang + - mold +environment: + MSRV: 1.88.0 + RUSTFLAGS: -C linker=clang -C link-arg=-fuse-ld=mold +triggers: + - action: email + condition: failure + to: "<~pml68/dev@lists.sr.ht>" +artifacts: + - iced-builder-x86_64-unknown-linux-gnu +tasks: + - rust-setup: | + rustup toolchain install stable --profile default -c clippy + rustup toolchain install nightly --profile default + rustup toolchain install $MSRV --profile default + rustup default stable + - lint: | + cd iced-builder + cargo lint + - test: | + cd iced-builder + cargo test --verbose --workspace + - build-stable: | + cd iced-builder + + export RUSTUP_TOOLCHAIN=stable + cargo build --verbose --profile release-opt + + cp target/release-opt/iced-builder ../iced-builder-x86_64-unknown-linux-musl + - build-msrv: | + cd iced-builder + + export RUSTUP_TOOLCHAIN=$MSRV + cargo build --verbose --profile release-opt + - build-nightly: | + cd iced-builder + + export RUSTUP_TOOLCHAIN=nightly + cargo build --verbose --profile release-opt |
