mirror of
https://github.com/timvisee/lazymc.git
synced 2025-05-19 12:50:23 -07:00
Use Rust stable and MSRV in GitLab CI
This commit is contained in:
parent
39feb0bdc2
commit
c6db4d7c3f
@ -9,12 +9,16 @@ stages:
|
||||
|
||||
# Variable defaults
|
||||
variables:
|
||||
RUST_VERSION: stable
|
||||
TARGET: x86_64-unknown-linux-gnu
|
||||
|
||||
# Install build dependencies
|
||||
before_script:
|
||||
- apt-get update
|
||||
- apt-get install -y --no-install-recommends build-essential
|
||||
- |
|
||||
rustup install $RUST_VERSION
|
||||
rustup default $RUST_VERSION
|
||||
- |
|
||||
rustc --version
|
||||
cargo --version
|
||||
@ -41,8 +45,12 @@ before_script:
|
||||
- cargo check --no-default-features --verbose
|
||||
- cargo check --no-default-features --features rcon --verbose
|
||||
- cargo check --no-default-features --features lobby --verbose
|
||||
check:
|
||||
check-stable:
|
||||
<<: *check-base
|
||||
check-msrv:
|
||||
<<: *check-base
|
||||
variables:
|
||||
RUST_VERSION: 1.60.0
|
||||
|
||||
# Build using Rust stable on Linux
|
||||
build-x86_64-linux-gnu:
|
||||
|
@ -55,6 +55,10 @@ https://user-images.githubusercontent.com/856222/141378688-882082be-9efa-4cfe-81
|
||||
- Minecraft Java Edition 1.6+
|
||||
- On Windows: RCON (automatically managed)
|
||||
|
||||
Build requirements:
|
||||
|
||||
- Rust 1.60 (MSRV)
|
||||
|
||||
_Note: You must have access to the system to run the `lazymc` binary. If you're
|
||||
using a Minecraft shared hosting provider with a custom dashboard, you likely
|
||||
won't be able to set this up._
|
||||
|
Loading…
x
Reference in New Issue
Block a user