Commit e673300c authored by Yi Lin's avatar Yi Lin

Update .gitlab-ci.yml

parent c2b9b779
...@@ -49,26 +49,28 @@ before_script: ...@@ -49,26 +49,28 @@ before_script:
- export PATH=$PATH:/root/.cargo/bin - export PATH=$PATH:/root/.cargo/bin
- export MU_ZEBU=$CI_PROJECT_DIR - export MU_ZEBU=$CI_PROJECT_DIR
- export ZEBU_BUILD=release - export ZEBU_BUILD=release
- export CARGO_HOME=.cargo
- export CC=clang
test:cargo:api: test:cargo:api:
stage: test stage: test
script: script:
- CARGO_HOME=.cargo RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test --release test_api 2> /dev/null - RUST_BACKTRACE=1 RUST_TEST_THREADS=1 cargo test --release test_api 2> /dev/null
test:cargo:ir: test:cargo:ir:
stage: test stage: test
script: script:
- CARGO_HOME=.cargo RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test --release test_ir 2> /dev/null - RUST_BACKTRACE=1 RUST_TEST_THREADS=1 cargo test --release test_ir 2> /dev/null
test:cargo:compiler: test:cargo:compiler:
stage: test stage: test
script: script:
- CARGO_HOME=.cargo RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test --release test_compiler 2> /dev/null - RUST_BACKTRACE=1 RUST_TEST_THREADS=1 cargo test --release test_compiler 2> /dev/null
test:cargo:runtime: test:cargo:runtime:
stage: test stage: test
script: script:
- CARGO_HOME=.cargo RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test --release test_runtime 2> /dev/null - RUST_BACKTRACE=1 RUST_TEST_THREADS=1 cargo test --release test_runtime 2> /dev/null
testjit:milestones: testjit:milestones:
stage: test stage: test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment