Newer
Older
# TODO: Change back once upstream is updated
image: "jd91mzm2/redoxer:latest"
#image: "redoxos/redoxer:latest"
default:
before_script:
- apt-get update -qq
- apt-get install -qq git
- git submodule sync --recursive
- git submodule update --init --recursive
- rustup toolchain add "$(cat rust-toolchain)"
- rustup show # Print version info for debugging
- make -j "$(nproc)" all
build:redox:
stage: build
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
dependencies:
- build: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