Commit 6f7d910c authored by Jeremy Soller's avatar Jeremy Soller

Merge branch 'mggmuggins/ci' into 'master'

Use stages in CI

See merge request redox-os/users!23
parents ebb21722 b14c7266
image: "rust:latest"
stages:
- build
- test
before_script:
- rustup toolchain add nightly
- rustup target add x86_64-unknown-redox --toolchain nightly
- rustup show # Print version info for debugging
cache:
paths:
- target/
build:linux:cargo:
stage: build
script:
- cargo +nightly build --verbose
build:redox:cargo:
stage: build
script:
- cargo +nightly build --verbose --target x86_64-unknown-redox
test:linux:cargo:
stage: test
dependencies:
- build:linux:cargo
script:
- cargo +nightly test --verbose -- --test-threads=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment