Skip to content
Snippets Groups Projects
Verified Commit 30ec8aa2 authored by jD91mZM2's avatar jD91mZM2
Browse files

Add redox to CI

parent 07dbc6bd
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,8 @@ stages: ...@@ -6,7 +6,8 @@ stages:
before_script: before_script:
- git submodule update --init --recursive - git submodule update --init --recursive
- rustup target add x86_64-unknown-redox --toolchain nightly - rustup toolchain add "$(cat rust-toolchain)"
- rustup target add x86_64-unknown-redox --toolchain "$(cat rust-toolchain)"
- rustup show # Print version info for debugging - rustup show # Print version info for debugging
cache: cache:
...@@ -17,10 +18,22 @@ build:linux: ...@@ -17,10 +18,22 @@ build:linux:
script: script:
- make all - make all
#build:redox: build:redox:
# stage: build stage: build
# script: variables:
# - make all TARGET: x86_64-unknown-redox
script:
# Install x86_64-unknown-redox-gcc
# This can't be in before_script because that overrides
# the global before_script.
- apt-get update -qq
- apt-get install -qq apt-transport-https build-essential curl git gnupg software-properties-common
- 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
# Main script
- make all
test:linux: test:linux:
stage: test stage: test
...@@ -28,6 +41,7 @@ test:linux: ...@@ -28,6 +41,7 @@ test:linux:
- build:linux - build:linux
script: script:
- make test - make test
- cd tests && make verify
fmt: fmt:
stage: test stage: test
......
Processing 11 UTF-8 code units: [ 7a c3 9f e6 b0 b4 f0 9f 8d 8c 0 ] Processing 11 UTF-8 code units: [ 7a c3 9f e6 b0 b4 f0 9f 8d 8c 0 ]
into 5 wchar_t units: [ 7a df 6c34 1f34c 0 ] into 5 wchar_t units: [ 7a df 6c34 1f34c 0 ]
\ No newline at end of file
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