termion/.gitlab-ci.yml

43 lines
695 B
YAML

image: "redoxos/redoxer"
stages:
- build
- test
cache:
paths:
- target/
before_script:
rustup update stable
build:linux:stable:
stage: build
script: cargo +stable build --verbose
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
script: cargo +stable test --verbose
test:linux:
stage: test
dependencies:
- build:linux
script: cargo +nightly test --verbose
test:redox:
stage: test
dependencies:
- build:redox
script: redoxer test --verbose