2019-07-06 18:48:52 +01:00
|
|
|
image: "redoxos/redoxer"
|
2018-08-20 23:19:19 +01:00
|
|
|
|
|
|
|
stages:
|
2019-07-06 18:48:52 +01:00
|
|
|
- build
|
|
|
|
- test
|
2018-08-20 23:19:19 +01:00
|
|
|
|
|
|
|
cache:
|
2019-07-06 18:48:52 +01:00
|
|
|
paths:
|
|
|
|
- target/
|
|
|
|
|
|
|
|
build:linux:stable:
|
|
|
|
stage: build
|
2019-07-06 19:03:41 +01:00
|
|
|
script:
|
2020-01-18 06:46:37 +00:00
|
|
|
- rustup update stable
|
2019-07-06 19:03:41 +01:00
|
|
|
- cargo +stable build --verbose
|
2019-07-06 18:48:52 +01:00
|
|
|
|
|
|
|
build:linux:
|
|
|
|
stage: build
|
|
|
|
script: cargo +nightly build --verbose
|
|
|
|
|
|
|
|
build:redox:
|
|
|
|
stage: build
|
|
|
|
script: redoxer build --verbose
|
|
|
|
|
|
|
|
test:linux:stable:
|
|
|
|
stage: test
|
|
|
|
dependencies:
|
|
|
|
- build:linux:stable
|
2019-07-06 19:05:38 +01:00
|
|
|
script:
|
|
|
|
- rustup update stable
|
2020-01-18 06:58:07 +00:00
|
|
|
- script -c "cargo +stable test --verbose"
|
2019-07-06 18:48:52 +01:00
|
|
|
|
|
|
|
test:linux:
|
|
|
|
stage: test
|
|
|
|
dependencies:
|
|
|
|
- build:linux
|
2020-01-18 06:58:07 +00:00
|
|
|
script: script -c "cargo +nightly test --verbose"
|
2019-07-06 18:48:52 +01:00
|
|
|
|
|
|
|
test:redox:
|
|
|
|
stage: test
|
|
|
|
dependencies:
|
|
|
|
- build:redox
|
|
|
|
script: redoxer test --verbose
|