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
|
||||
- cargo test --all --verbose
|
||||
|
||||
|
||||
build:linux:
|
||||
script:
|
||||
- cargo build --release
|
||||
artifacts:
|
||||
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