浏览代码

Build tests for redox

Jeremy Soller 5 年之前
父节点
当前提交
a49badbb66
共有 1 个文件被更改,包括 12 次插入2 次删除
  1. 12 2
      .gitlab-ci.yml

+ 12 - 2
.gitlab-ci.yml

@@ -35,8 +35,18 @@ test:linux:
     dependencies:
         - build:linux
     script:
-        - make test
-        - cd tests && make verify
+        - make -C tests verify
+
+test:redox:
+    stage: test
+    dependencies:
+        - build:redox
+    variables:
+        TARGET: x86_64-unknown-redox
+    script:
+        - export RUSTUP_TOOLCHAIN="$HOME/.redoxer/toolchain"
+        - export PATH="$RUSTUP_TOOLCHAIN/bin:$PATH"
+        - make -C tests all
 
 fmt:
     stage: test