Update CI config to use redoxer
This commit is contained in:
parent
68d765305c
commit
1008f2021b
|
@ -1,66 +1,39 @@
|
||||||
image: "rust:latest"
|
image: "redoxos/redoxer"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
|
||||||
before_script:
|
|
||||||
- rustup toolchain add $toolchain
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- target/
|
- target/
|
||||||
|
|
||||||
build:stable:
|
build:linux:stable:
|
||||||
stage: build
|
stage: build
|
||||||
variables:
|
script: cargo +stable build --verbose
|
||||||
toolchain: stable
|
|
||||||
script:
|
|
||||||
- cargo +stable build --verbose
|
|
||||||
- cargo +stable build --release --verbose
|
|
||||||
|
|
||||||
test:stable:
|
build:linux:
|
||||||
stage: test
|
stage: build
|
||||||
variables:
|
script: cargo +nightly build --verbose
|
||||||
toolchain: stable
|
|
||||||
dependencies:
|
|
||||||
- build:stable
|
|
||||||
script:
|
|
||||||
- script -q -c "cargo +stable test --verbose"
|
|
||||||
- script -q -c "cargo +stable test --release --verbose"
|
|
||||||
|
|
||||||
build:beta:
|
build:redox:
|
||||||
stage: build
|
stage: build
|
||||||
variables:
|
script: redoxer build --verbose
|
||||||
toolchain: beta
|
|
||||||
script:
|
|
||||||
- cargo +beta build --verbose
|
|
||||||
- cargo +beta build --release --verbose
|
|
||||||
|
|
||||||
test:beta:
|
test:linux:stable:
|
||||||
stage: test
|
stage: test
|
||||||
variables:
|
dependencies:
|
||||||
toolchain: beta
|
- build:linux:stable
|
||||||
dependencies:
|
script: cargo +stable test --verbose
|
||||||
- build:beta
|
|
||||||
script:
|
|
||||||
- script -q -c "cargo +beta test --verbose"
|
|
||||||
- script -q -c "cargo +beta test --release --verbose"
|
|
||||||
|
|
||||||
build:nightly:
|
test:linux:
|
||||||
stage: build
|
stage: test
|
||||||
variables:
|
dependencies:
|
||||||
toolchain: nightly
|
- build:linux
|
||||||
script:
|
script: cargo +nightly test --verbose
|
||||||
- cargo +nightly build --verbose
|
|
||||||
- cargo +nightly build --release --verbose
|
|
||||||
|
|
||||||
test:nightly:
|
test:redox:
|
||||||
stage: test
|
stage: test
|
||||||
variables:
|
dependencies:
|
||||||
toolchain: nightly
|
- build:redox
|
||||||
dependencies:
|
script: redoxer test --verbose
|
||||||
- build:nightly
|
|
||||||
script:
|
|
||||||
- script -q -c "cargo +nightly test --verbose"
|
|
||||||
- script -q -c "cargo +nightly test --release --verbose"
|
|
||||||
|
|
Loading…
Reference in New Issue