Update .gitlab-ci.yml
This commit is contained in:
parent
1d98133c58
commit
5478fac5af
|
@ -12,9 +12,19 @@ test:cargo:
|
||||||
- rustc --version && cargo --version # Print version info for debugging
|
- rustc --version && cargo --version # Print version info for debugging
|
||||||
- cargo test --all --verbose
|
- cargo test --all --verbose
|
||||||
|
|
||||||
|
|
||||||
build:linux:
|
build:linux:
|
||||||
script:
|
script:
|
||||||
- cargo build --release
|
- cargo build --release
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- target/release/per
|
- target/release/per
|
||||||
|
|
||||||
|
build:windows:
|
||||||
|
script:
|
||||||
|
- apt-get update -yqq
|
||||||
|
- apt-get install -yqq mingw-w64
|
||||||
|
- cargo build --release --target=x86_64-pc-windows-gnu
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- target/x86_64-pc-windows-gnu/release/per.exe
|
Loading…
Reference in New Issue