Add lobby compiler feature flag

This commit is contained in:
timvisee
2021-11-15 20:29:45 +01:00
parent d213612225
commit 1da8c60323
6 changed files with 28 additions and 5 deletions

View File

@@ -45,6 +45,7 @@ before_script:
- cargo check --verbose
- cargo check --no-default-features --verbose
- cargo check --no-default-features --features rcon --verbose
- cargo check --no-default-features --features lobby --verbose
check:
<<: *check-base
check-macos:
@@ -68,6 +69,7 @@ check-windows:
script:
- cargo check --locked --verbose
- cargo check --locked --no-default-features --features rcon --verbose
- cargo check --locked --no-default-features --features lobby --verbose
# Build using Rust stable on Linux
build-x86_64-linux-gnu:
@@ -231,6 +233,7 @@ test-cargo-x86_64-linux-gnu:
- cargo test --locked --verbose
- cargo test --locked --no-default-features --verbose
- cargo test --locked --no-default-features --features rcon --verbose
- cargo test --locked --no-default-features --features lobby --verbose
# Run the unit tests through Cargo on Windows
test-cargo-x86_64-windows:
@@ -244,6 +247,7 @@ test-cargo-x86_64-windows:
script:
- cargo test --locked --verbose
- cargo test --locked --no-default-features --features rcon --verbose
- cargo test --locked --no-default-features --features lobby --verbose
# Release binaries on GitLab as generic package
release-gitlab-generic-package: