12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- image: "rustlang/rust:nightly"
- stages:
- - build
- - test
- before_script:
- - git submodule update
- - rustup toolchain add "$(cat rust-toolchain)"
- - rustup target add x86_64-unknown-redox
- - rustup show
- build:linux:
- stage: build
- script:
- - make all
- build:redox:
- stage: build
- variables:
- TARGET: x86_64-unknown-redox
- script:
-
-
-
- - apt-get update -qq
- - apt-get install -qq apt-transport-https build-essential curl git gnupg software-properties-common
- - apt-key adv
- - add-apt-repository 'deb https://static.redox-os.org/toolchain/apt /'
- - apt-get update -qq && apt-get install -qq x86-64-unknown-redox-gcc
-
- - make all
- test:linux:
- stage: test
- dependencies:
- - build:linux
- script:
- - make test
- - cd tests && make verify
- fmt:
- stage: test
- script:
- - rustup component add rustfmt-preview
- - ./fmt.sh
- allow_failure: true
|