Commit 7fb9134b authored by John Zhang's avatar John Zhang

fixed environment variable

parent 54fa9770
Pipeline #32 failed with stage
in 4 minutes and 2 seconds
......@@ -26,14 +26,14 @@ test:cargo:
testjit:milestones:
script:
- cd tests/test_jit
- pytest test_milestones.py
- MU_RUST=$CI_PROJ_DIR pytest test_milestones.py
testjit:binops:
script:
- cd tests/test_jit
- pytest test_binops.py
- MU_RUST=$CI_PROJ_DIR pytest test_binops.py
testjit:cmpops:
script:
- cd tests/test_jit
- pytest test_cmpops.py
- MU_RUST=$CI_PROJ_DIR pytest test_cmpops.py
......@@ -7,12 +7,11 @@ import ctypes
import py
CC = 'clang'
# CI_PROJ_DIR = os.environ["CI_PROJECT_DIR"]
CI_PROJ_DIR = os.environ["MU_RUST"]
MU_RUST = os.environ["MU_RUST"]
CFLAGS = [
"-std=c99",
"-I%(CI_PROJ_DIR)s/src/vm/api" % globals(),
"-L%(CI_PROJ_DIR)s/target/debug" % globals(),
"-I%(MU_RUST)s/src/vm/api" % globals(),
"-L%(MU_RUST)s/target/debug" % globals(),
"-lmu",
]
os.environ['RUST_BACKTRACE'] = '1'
......
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