ci artifacts can not read env variables?

parent 276cee64
Pipeline #3834 failed with stages
in 152 minutes and 54 seconds
......@@ -13,7 +13,6 @@ before_script:
- export CXX=clang++
- export RUST_TEST_THREADS=1
- export LD_LIBRARY_PATH=$MU_ZEBU/target/$ZEBU_BUILD/deps/:$LD_LIBRARY_PATH
- export LD_LIBRARY_PATH=$MU_ZEBU/mulib/:$LD_LIBRARY_PATH
- export PYTHONPATH=mu-client-pypy
- source /home/gitlab-runner/ci/bin/activate
......@@ -23,13 +22,14 @@ build:
- rustc --version
- cargo clean
- time cargo test -j6 $ZEBU_CARGO_ARG --no-run --color=always
- mkdir mulib
- cp target/$ZEBU_BUILD/deps/libmu* mulib/
artifacts:
paths:
- target/$ZEBU_BUILD/deps/libmu.so
- target/$ZEBU_BUILD/deps/libmu.a
- target/$ZEBU_BUILD/deps/lib-*
- 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-*
test:cargo:api:
stage: test
......@@ -59,7 +59,7 @@ test:cargo:runtime:
export ANTLR_HOME=/home/gitlab-runner/antlr4/runtime/Cpp/run
mkdir lib
cp -r $ANTLR_HOME/usr/local/lib/* $PWD/lib/
cp -r $MU_ZEBU/mulib/* $PWD/lib/
cp -r $MU_ZEBU/target/$ZEBU_BUILD/deps/* $PWD/lib/
export CC=clang
export CXX=clang++
make
......@@ -165,7 +165,7 @@ testjit:som:
mubench:
stage: mubench
script:
- cp $MU_ZEBU/mulib/libmu.so ./target/$ZEBU_BUILD/libmu.so
- cp $MU_ZEBU/target/$ZEBU_BUILD/deps/libmu.so ./target/$ZEBU_BUILD/libmu.so
- deactivate
- git clone https://gitlab.anu.edu.au/mu/mu-perf-benchmarks.git
- git clone https://gitlab.anu.edu.au/mu/mu-client-pypy.git
......
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