Files
RedBear-OS/.gitlab-ci.yml
T
jD91mZM2 8e7cd11bc0 Fix CI
2018-06-28 08:31:34 +02:00

28 lines
579 B
YAML

image: "rust:latest"
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
build:linux:
script:
- make all
#build:redox:
# script:
# - make all
test:linux:
script:
- make test
fmt:
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