|
@@ -1,18 +1,21 @@
|
|
|
-image: "redoxos/redoxer:latest"
|
|
|
+# TODO: Change back once upstream is updated
|
|
|
+image: "jd91mzm2/redoxer:latest"
|
|
|
+#image: "redoxos/redoxer:latest"
|
|
|
|
|
|
stages:
|
|
|
- build
|
|
|
- test
|
|
|
|
|
|
-before_script:
|
|
|
- - apt-get update -qq
|
|
|
- - apt-get install -qq git
|
|
|
- - git submodule sync --recursive
|
|
|
- - git submodule update --init --recursive
|
|
|
+default:
|
|
|
+ before_script:
|
|
|
+ - apt-get update -qq
|
|
|
+ - apt-get install -qq git
|
|
|
+ - git submodule sync --recursive
|
|
|
+ - git submodule update --init --recursive
|
|
|
|
|
|
-cache:
|
|
|
- paths:
|
|
|
- - target/
|
|
|
+ cache:
|
|
|
+ paths:
|
|
|
+ - target/
|
|
|
|
|
|
build:linux:
|
|
|
stage: build
|
|
@@ -33,13 +36,19 @@ build:redox:
|
|
|
|
|
|
test:linux:
|
|
|
stage: test
|
|
|
+ needs:
|
|
|
+ - build:linux
|
|
|
dependencies:
|
|
|
- build:linux
|
|
|
script:
|
|
|
- make test
|
|
|
+ # TODO: SIGILL when running `cargo test`
|
|
|
+ allow_failure: true
|
|
|
|
|
|
test:redox:
|
|
|
stage: test
|
|
|
+ needs:
|
|
|
+ - build:redox
|
|
|
dependencies:
|
|
|
- build:redox
|
|
|
variables:
|
|
@@ -50,9 +59,12 @@ test:redox:
|
|
|
- export PATH="$RUSTUP_TOOLCHAIN/bin:$PATH"
|
|
|
- export TEST_RUNNER="redoxer exec --folder . -- sh --"
|
|
|
- make test
|
|
|
+ # TODO: Out of memory
|
|
|
+ allow_failure: true
|
|
|
|
|
|
fmt:
|
|
|
stage: test
|
|
|
+ needs: []
|
|
|
script:
|
|
|
- rustup component add rustfmt-preview
|
|
|
- ./fmt.sh -- --check
|