summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml54
1 files changed, 0 insertions, 54 deletions
diff --git a/.build.yml b/.build.yml
deleted file mode 100644
index ae6a827..0000000
--- a/.build.yml
+++ /dev/null
@@ -1,54 +0,0 @@
-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/iced-crates@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
- - environment: |
- cd iced-builder
- if [ "$BUILD_SUBMITTER" = "git.sr.ht" ]
- then
- [ "$GIT_REF" = "refs/heads/master" ] || complete-build
- [ "$(git remote get-url origin)" = "https://git.sr.ht/~pml68/iced-builder" ] || complete-build
- fi
- [ "$BUILD_REASON" != "patchset" ] || complete-build
- - 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-gnu
- - 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