Skip to content
Snippets Groups Projects
Commit 396a6dbb authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Merge branch 'mggmuggins/ci' into 'master'

Stage and Cache build

See merge request redox-os/relibc!150
parents 0567f699 b911a76d
No related branches found
No related tags found
No related merge requests found
image: "rust:latest"
image: "rustlang/rust:nightly"
stages:
- build
- test
before_script:
- git submodule update --init --recursive
- rustup toolchain add nightly
- rustup target add x86_64-unknown-redox --toolchain nightly
- rustup show # Print version info for debugging
cache:
untracked: true
build:linux:
stage: build
script:
- make all
#build:redox:
# stage: build
# script:
# - make all
test:linux:
stage: test
dependencies:
- build:linux
script:
- make test
fmt:
stage: test
script:
- rustup component add rustfmt-preview
- ./fmt.sh -- --check
# TODO: Set up a docker image with a redox vm that would allow to
# run things like tests under redox
allow_failure: true
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