Update .gitlab-ci.yml

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-03-26 14:25:53 +00:00
parent 1d98133c58
commit 5478fac5af
1 changed files with 11 additions and 1 deletions

View File

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