Commit 8c6be108 authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano

Don't rebuild zebu before each cargo test

parent 07226127
......@@ -14,6 +14,8 @@ build:
- rustup toolchain install nightly-2019-11-04 # Needed for rustfmt
- rustup default stable # Change `stable` to whatever rust toolchain you want, it will be installed and set as the default
- rustc --version
- cargo clean
- time cargo test -j6 --no-run --color=always
- if [ ! -d $CI_HOME/antlr4 ]; then # Compile the antlr runtime
- git clone https://github.com/antlr/antlr4.git $CI_HOME/antlr4
- pushd $CI_HOME/antlr4/runtime/Cpp
......@@ -50,13 +52,8 @@ build:
- deactivate
- source $CI_HOME/venv2/bin/activate
- fi
- cargo clean
- time cargo test -j6 --$ZEBU_BUILD --no-run --color=always
artifacts:
paths:
- target/debug/deps/libmu.so
- target/debug/deps/libmu.a
- target/debug/deps/lib-*
- target/release/deps/libmu.so
- target/release/deps/libmu.a
- target/release/deps/lib-*
......@@ -64,27 +61,27 @@ build:
test:cargo:api:
stage: test
script:
- cargo test test_api --$ZEBU_BUILD 2> /dev/null
- ./zebu-test test_api 2> /dev/null
test:cargo:ir:
stage: test
script:
- cargo test test_ir --$ZEBU_BUILD 2> /dev/null
- ./zebu-test test_ir 2> /dev/null
test:cargo:add:
stage: test
script:
- cargo test test_double_add --$ZEBU_BUILD #2> /dev/null
- ./zebu-test test_double_add #2> /dev/null
test:cargo:compiler:
stage: test
script:
- cargo test test_compiler --$ZEBU_BUILD 2> /dev/null
- ./zebu-test test_compiler 2> /dev/null
test:cargo:runtime:
stage: test
script:
- cargo test test_runtime --$ZEBU_BUILD 2> /dev/null
- ./zebu-test test_runtime 2> /dev/null
#testmuc:test_simple:
# 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