Update .gitlab-ci.yml

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-03-27 00:08:30 +00:00
parent fec9520e60
commit fb69b79844
1 changed files with 13 additions and 4 deletions

View File

@ -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
- 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