Check and test no-rcon builds on GitLab CI

This commit is contained in:
timvisee
2021-11-15 15:25:54 +01:00
parent 5a5fa785b7
commit 7a99781a05

View File

@@ -43,6 +43,7 @@ before_script:
<<: *rust-build-cache <<: *rust-build-cache
script: script:
- cargo check --verbose - cargo check --verbose
- cargo check --no-default-features --verbose
- cargo check --no-default-features --features rcon --verbose - cargo check --no-default-features --features rcon --verbose
check: check:
<<: *check-base <<: *check-base
@@ -228,6 +229,8 @@ test-cargo-x86_64-linux-gnu:
<<: *rust-build-cache <<: *rust-build-cache
script: script:
- cargo test --locked --verbose - cargo test --locked --verbose
- cargo test --locked --no-default-features --verbose
- cargo test --locked --no-default-features --features rcon --verbose
# Run the unit tests through Cargo on Windows # Run the unit tests through Cargo on Windows
test-cargo-x86_64-windows: test-cargo-x86_64-windows:
@@ -240,6 +243,7 @@ test-cargo-x86_64-windows:
<<: *before_script-windows <<: *before_script-windows
script: script:
- cargo test --locked --verbose - cargo test --locked --verbose
- cargo test --locked --no-default-features --features rcon --verbose
# Release binaries on GitLab as generic package # Release binaries on GitLab as generic package
release-gitlab-generic-package: release-gitlab-generic-package: