Commit 10d36f7f authored by qinsoon's avatar qinsoon

update CI script

parent 2475e15e
......@@ -41,30 +41,26 @@ test:cargo:runtime:
script:
- RUST_BACKTRACE=1 RUST_TEST_THREADS=1 ./test-release --color=always test_runtime 2> /dev/null
testmuc:build_muc:
stage: test
script:
- cd $MU_ZEBU/tests/test_muc
- git clone https://gitlab.anu.edu.au/mu/mu-tool-compiler
- cd mu-tool-compiler
- mkdir lib
- ln -s $MU_ZEBU/target/release/libmu.so lib/
- make
artifacts:
paths:
- $MU_ZEBU/tests/test_muc/mu-tool-compiler/muc
- $MU_ZEBU/tests/test_muc/mu-tool-compiler/lib/*
.build_muc: &build_muc |
if [ -d "tests/test_muc/mu-tool-compiler" ]; then rm -Rf tests/test_muc/mu-tool-compiler; fi
cd tests/test_muc
git clone https://gitlab.anu.edu.au/mu/mu-tool-compiler
cd mu-tool-compiler
mkdir lib
ln -s $MU_ZEBU/target/release/libmu.so lib/
make
cd ..
testmuc:test_simple:
stage: test
script:
- cd tests/test_muc
- *build_muc
- LD_LIBRARY_PATH=mu-tool-compiler/lib/ MUC=mu-tool-compiler/muc python2 -m pytest test_simple.py -v
testmuc:test_swapstack:
stage: test
script:
- cd tests/test_muc
- *build_muc
- LD_LIBRARY_PATH=mu-tool-compiler/lib/ MUC=mu-tool-compiler/muc python2 -m pytest test_thread_and_stack.py -v
testjit:milestones:
......
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