summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml23
1 files changed, 22 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a336098..cdbf295 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,6 @@
stages:
- - build
+ - debug
+ - release
rust-latest:
stage: build
@@ -15,3 +16,23 @@ rust-nightly:
- cargo build --verbose
- cargo test --verbose
allow_failure: true
+
+release-arm-linux:
+ stage: release
+ image: rust:latest
+ script:
+ - cargo build --verbose --release --target aarch64-unknown-linux-gnu
+ artifacts:
+ paths:
+ - target/aarch64-unknown-linux-gnu/release/where
+ - target/aarch64-unknown-linux-gnu/release/whered
+
+release-x86-linux:
+ stage: release
+ image: rust:latest
+ script:
+ - cargo build --verbose --release --target x86_64-unknown-linux-gnu
+ artifacts:
+ paths:
+ - target/x86_64-unknown-linux-gnu/release/where
+ - target/x86_64-unknown-linux-gnu/release/whered