From 5478fac5af76c0fa4ad9233d06814274215c9419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Tue, 26 Mar 2019 14:25:53 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 933a268..eaf7732 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file + - 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 \ No newline at end of file