From fb69b79844eceab581a4ef897dff108448d1b887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Wed, 27 Mar 2019 00:08:30 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 684b26d..16b0b55 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,11 +17,11 @@ test:cargo: - cargo test --all --verbose -build:linux: + +build:linux-glibc: stage: build script: - - rustup target add x86_64-unknown-linux-musl - - cargo build --release --target x86_64-unknown-linux-musl + - cargo build --release artifacts: paths: - target/x86_64-unknown-linux-musl/release/per @@ -36,4 +36,13 @@ build:windows: - cargo build --release --target=x86_64-pc-windows-gnu artifacts: paths: - - target/x86_64-pc-windows-gnu/release/per.exe \ No newline at end of file + - target/x86_64-pc-windows-gnu/release/per.exe + +build:linux-musl: + stage: build + script: + - rustup target add x86_64-unknown-linux-musl + - cargo build --release --target x86_64-unknown-linux-musl + artifacts: + paths: + - target/x86_64-unknown-linux-musl/release/per \ No newline at end of file