Commit e04fe782 authored by John Zhang's avatar John Zhang

set CARGO_HOME to be under project directory

parent 2138ce2e
Pipeline #85 canceled with stages
in 9 minutes and 57 seconds
......@@ -25,7 +25,7 @@ stages:
build_test:
stage: build
script:
- RUST_BACKTRACE=1 cargo test --no-run
- CARGO_HOME=.cargo RUST_BACKTRACE=1 CC=clang cargo test --no-run
artifacts:
untracked: true
......@@ -34,32 +34,28 @@ test:cargo:api:
dependencies:
- build_test
script:
- ls -al target
- RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test test_api
- CARGO_HOME=.cargo RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test test_api
test:cargo:ir:
stage: test
dependencies:
- build_test
script:
- ls -al target
- RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test test_ir
- CARGO_HOME=.cargo RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test test_ir
test:cargo:compiler:
stage: test
dependencies:
- build_test
script:
- ls -al target
- RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test test_compiler
- CARGO_HOME=.cargo RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test test_compiler
test:cargo:runtime:
stage: test
dependencies:
- build_test
script:
- ls -al target
- RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test test_runtime
- CARGO_HOME=.cargo RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test test_runtime
testjit:milestones:
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