Skip to content
Snippets Groups Projects
Commit 5720e826 authored by AdminXVII's avatar AdminXVII Committed by Michael Aaron Murphy
Browse files

ci: Use the new redoxer docker image for redox builds

parent 2a0e8e66
No related branches found
No related tags found
No related merge requests found
image: 'rust:latest' image: "redoxos/redoxer"
variables: variables:
CARGO_HOME: $CI_PROJECT_DIR/cargo CARGO_HOME: $CI_PROJECT_DIR/cargo
...@@ -31,27 +31,8 @@ linux:stable: ...@@ -31,27 +31,8 @@ linux:stable:
- TOOLCHAIN= make tests - TOOLCHAIN= make tests
redox: redox:
variables:
CC: "x86_64-unknown-redox-gcc"
allow_failure: true
before_script:
- apt-get update -qq
- apt-get install -qq tar
- '[ -e "prefix" ] || (mkdir prefix && wget -O - https://static.redox-os.org/toolchain/x86_64-unknown-redox/gcc-install.tar.gz |
tar --extract --gzip --directory prefix)'
- export PATH="$PWD/prefix/bin:$PATH"
- export RUSTUP_TOOLCHAIN="$PWD/prefix"
# Prepare xargo
- cargo install xargo
- '[ -e "rust" ] || git clone -b redox-2019-04-06 "https://gitlab.redox-os.org/redox-os/rust" --recursive'
- export CARGO=xargo
- export XARGO_HOME="$PWD/build/xargo"
- export XARGO_RUST_SRC="$PWD/rust/src"
- rustup default nightly-2019-04-06
- rustup target add x86_64-unknown-redox
script: script:
- make TOOLCHAIN= REDOX=1 - redoxer build
pages: pages:
image: hrektts/mdbook image: hrektts/mdbook
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment