Skip to content
Snippets Groups Projects
Verified Commit 2ddf1dab authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Update CI configuration to use redoxer

parent 8e38015b
No related branches found
No related tags found
No related merge requests found
image: "redoxos/redox" image: "redoxos/redoxer"
stages: stages:
- build - build
- test - test
before_script:
- rustup target add x86_64-unknown-redox --toolchain nightly
- rustup show # Print version info for debugging
cache: cache:
paths: paths:
- target/ - target/
build:linux:cargo: build:linux:
stage: build stage: build
script: cargo +nightly build --verbose script: cargo +nightly build --verbose
build:redox:cargo: build:redox:
stage: build stage: build
script: script: redoxer build --verbose
- mkdir .cargo
- echo -e "[target.x86_64-unknown-redox]\nlinker = \"x86_64-unknown-redox-gcc\"" > .cargo/config
- cargo +nightly build --verbose --target x86_64-unknown-redox
test:linux:cargo: test:linux:
stage: test stage: test
dependencies: dependencies: build:linux
- build:linux:cargo
script: cargo +nightly test --verbose script: cargo +nightly test --verbose
# TODO: Set up a docker image with a redox vm that would allow to test:redox:
# run things like tests under redox stage: test
dependencies: test:redox
script: redoxer test --verbose
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