diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1ee8de1..ec4559c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -140,6 +140,27 @@ release:linux:nightly: - docker allow_failure: true +build:windows:stable: + stage: build + variables: + RUST_TOOLCHAIN: stable-x86_64-pc-windows-gnu + script: + - rustup update + - rustup run %RUST_TOOLCHAIN% rustc -Vv + - rustup run %RUST_TOOLCHAIN% cargo -Vv + - rustup run %RUST_TOOLCHAIN% cargo build + artifacts: + expire_in: 4 hours + paths: + - target/debug/ + only: + - master + - develop + tags: + - rust + - windows + allow_failure: false + test:windows:stable: stage: test variables: @@ -155,6 +176,8 @@ test:windows:stable: tags: - rust - windows + dependencies: + - build:windows:stable allow_failure: false release:windows:stable: