Update .gitlab-ci.yml
This commit is contained in:
parent
fec9520e60
commit
fb69b79844
|
@ -17,11 +17,11 @@ test:cargo:
|
||||||
- cargo test --all --verbose
|
- cargo test --all --verbose
|
||||||
|
|
||||||
|
|
||||||
build:linux:
|
|
||||||
|
build:linux-glibc:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- rustup target add x86_64-unknown-linux-musl
|
- cargo build --release
|
||||||
- cargo build --release --target x86_64-unknown-linux-musl
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- target/x86_64-unknown-linux-musl/release/per
|
- target/x86_64-unknown-linux-musl/release/per
|
||||||
|
@ -36,4 +36,13 @@ build:windows:
|
||||||
- cargo build --release --target=x86_64-pc-windows-gnu
|
- cargo build --release --target=x86_64-pc-windows-gnu
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
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
|
Loading…
Reference in New Issue