Skip to content
Snippets Groups Projects
Unverified Commit 063d2541 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Use redoxer.sh for Redox testing

parent 90339357
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ default:
build:linux:
stage: build
script:
- rustup show # Print version info for debugging
- rustup show # Ensure correct toolchain is downloaded and installed
- make -j "$(nproc)" all
build:redox:
......@@ -23,10 +23,7 @@ build:redox:
variables:
TARGET: x86_64-unknown-redox
script:
- export RUSTUP_TOOLCHAIN="$HOME/.redoxer/toolchain"
- export PATH="$RUSTUP_TOOLCHAIN/bin:$PATH"
- rustup show # Print version info for debugging
- make -j "$(nproc)" all
- ./redoxer.sh -j "$(nproc)" all
test:linux:
stage: test
......@@ -46,11 +43,7 @@ test:redox:
variables:
TARGET: x86_64-unknown-redox
script:
- export CARGO_TEST="redoxer"
- export RUSTUP_TOOLCHAIN="$HOME/.redoxer/toolchain"
- export PATH="$RUSTUP_TOOLCHAIN/bin:$PATH"
- export TEST_RUNNER="redoxer exec --folder . -- sh --"
- make test
- ./redoxer.sh test
# TODO: Out of memory
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