mirror of
https://github.com/timvisee/lazymc.git
synced 2025-07-26 01:32:00 -07:00
Add lobby compiler feature flag
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user