summaryrefslogtreecommitdiff
path: root/.builds
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.builds/linux.yml19
1 files changed, 10 insertions, 9 deletions
diff --git a/.builds/linux.yml b/.builds/linux.yml
index ae6a827..d51f089 100644
--- a/.builds/linux.yml
+++ b/.builds/linux.yml
@@ -27,28 +27,29 @@ tasks:
- test: |
cd iced-builder
cargo test --verbose --workspace
+ - build-stable: |
+ cd iced-builder
+
+ export RUSTUP_TOOLCHAIN=stable
+ cargo build --verbose --release
+
+ cp target/release/iced-builder ../iced-builder-x86_64-unknown-linux-gnu
- 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
+ cargo build --verbose --release
- build-nightly: |
cd iced-builder
export RUSTUP_TOOLCHAIN=nightly
- cargo build --verbose --profile release-opt
+ cargo build --verbose --release