Skip to content
Snippets Groups Projects
Commit 5c584dbe authored by Michael Aaron Murphy's avatar Michael Aaron Murphy
Browse files

Attempt to fix GitLab CI

parent 96b1196f
No related branches found
No related tags found
No related merge requests found
before_script: before_script:
- apt-get update -qq - apt-get update -qq
- apt-get install -qq build-essential curl git - apt-get install -qq build-essential curl git
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly - curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
- source "$HOME/.cargo/env" - source "$HOME/.cargo/env"
- rustup toolchain add stable
- rustup toolchain add beta
build: build_stable:
script: script:
- cargo build --verbose - cargo +stable build --verbose
test: test_stable:
script: script:
- cargo test --verbose - bash -c "cargo test --verbose"
- cargo test --release --verbose - bash -c "cargo test --release --verbose"
\ No newline at end of file
build_beta:
script:
- rustup toolchain add beta
- cargo +beta build --verbose
test_beta:
script:
- bash -c "cargo +beta test --verbose"
- bash -c "cargo +beta test --release --verbose"
build_nightly:
script:
- rustup toolchain add nightly
- cargo +nightly build --verbose
test_nightly:
script:
- bash -c "cargo +nightly test --verbose"
- bash -c "cargo +nightly test --release --verbose"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment