diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b61ed00..b6cc955 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,8 +6,8 @@ linux test stable: image: scorpil/rust:stable stage: test script: - - rustc -V - - cargo -V + - rustc -Vv + - cargo -Vv - cargo test only: - master @@ -20,8 +20,8 @@ linux test beta: image: scorpil/rust:beta stage: test script: - - rustc -V - - cargo -V + - rustc -Vv + - cargo -Vv - cargo test only: - develop @@ -33,8 +33,8 @@ linux test nightly: image: scorpil/rust:nightly stage: test script: - - rustc -V - - cargo -V + - rustc -Vv + - cargo -Vv - cargo test only: - develop @@ -46,8 +46,8 @@ linux build stable release: image: scorpil/rust:stable stage: build script: - - rustc -V - - cargo -V + - rustc -Vv + - cargo -Vv - cargo build --release artifacts: paths: @@ -64,8 +64,8 @@ linux build nightly release: image: scorpil/rust:nightly stage: build script: - - rustc -V - - cargo -V + - rustc -Vv + - cargo -Vv - cargo build --release artifacts: paths: @@ -76,3 +76,37 @@ linux build nightly release: tags: - docker allow_failure: true + +Windows test: + stage: test + script: + - rustup update + - rustc -Vv + - cargo -Vv + - cargo test + only: + - master + - develop + tags: + - rust + - windows + allow_failure: true + +Windows build release: + image: scorpil/rust:stable + stage: build + script: + - rustc -Vv + - cargo -Vv + - cargo build --release + artifacts: + paths: + - target/release/*.dll + - target/release/pihash.exe + only: + - master + - develop + tags: + - rust + - windows + allow_failure: false