Commit fed07e2f authored by Yi Lin's avatar Yi Lin

Merge branch 'ci-script' into 'develop'

bug fix attempt: compile libmu again before testjit:rpython, setting MU_LOG_LEVEL=info

See merge request !7
parents e673300c d18c91ee
Pipeline #498 passed with stages
in 58 minutes and 42 seconds
......@@ -121,6 +121,7 @@ testjit:otherops:
testjit:rpython:
stage: test
script:
- time CARGO_HOME=.cargo RUST_BACKTRACE=1 CC=clang cargo build --release
- if [ -d "tests/test_jit/RPySOM" ]; then rm -Rf tests/test_jit/RPySOM; fi
- git clone https://github.com/microvm/RPySOM.git tests/test_jit/RPySOM
- cd tests/test_jit/RPySOM; git submodule init; git submodule update; cd $CI_PROJECT_DIR
......@@ -130,7 +131,7 @@ testjit:rpython:
- git checkout mu-rewrite
- git apply pypy.patch
- cd $CI_PROJECT_DIR/tests/test_jit
- LD_LIBRARY_PATH=. RUST_BACKTRACE=1 PYTHONPATH=mu-client-pypy:RPySOM/src RPYSOM=RPySOM pytest test_rpython*.py -v
- MU_LOG_LEVEL=info LD_LIBRARY_PATH=. RUST_BACKTRACE=1 PYTHONPATH=mu-client-pypy:RPySOM/src RPYSOM=RPySOM pytest test_rpython*.py -v
# cache:
# key: "$CI_BUILD_STAGE/$CI_BUILD_REF_NAME"
# paths:
......@@ -139,3 +140,4 @@ testjit:rpython:
# - target
# - Cargo.lock
# - tests/test_jit/mu-client-pypy
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