Commit 0e5c639d authored by SamwiseFilmore's avatar SamwiseFilmore

Fix CI

parent caf8d59c
Pipeline #2048 failed with stage
in 1 minute and 12 seconds
......@@ -5,27 +5,33 @@ stages:
- test
before_script:
- apt-get install
- rustup toolchain add nightly
- rustup target add x86_64-unknown-redox --toolchain nightly
- rustup show
variables:
CARGO_HOME: $CI_PROJECT_DIR/.cargo/
cache:
paths:
- target/
- .cargo/
# This exists b/c it will give compiler errors beyond the type errors
# b/c of syscall.
build:linux:cargo:
stage: build
script:
- cargo +nightly build --verbose
allow_failure: true
build:redox:cargo:
stage: build
before_script:
- apt-get update -qq
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F
- add-apt-repository 'deb https://static.redox-os.org/toolchain/apt /'
- apt-get update -qq && apt-get install -qq x86-64-unknown-redox-gcc
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