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