Commit 14f117e8 authored by Eduardo Souza's avatar Eduardo Souza

Trying to cache the credentials before building, and then deleting it.

parent 23708a9d
Pipeline #5659 failed with stages
in 2 minutes and 2 seconds
......@@ -28,6 +28,8 @@ build:
- git pull
- sed -i 's/https:\/\/github.com\/udesou\/mmtk-core.git/https:\/\/udesou:'"$CI_ACCESS_TOKEN"'@github.com\/udesou\/mmtk-core.git/g' src/mmtk-gc/Cargo.toml
- cargo clean
- rm Cargo.lock || echo "Cargo.lock does not exist."
- git config --global credential.helper store
- CC=clang cargo build
- export LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | sed 's!/mu-impl-fast/target/[^/]*/deps/!/REMOVED/!g') # Delete any existing zebu's (so they don't accidently get used)
- export LD_LIBRARY_PATH=./emit:$MU_ZEBU/target/$ZEBU_BUILD/deps/:$CI_HOME/antlr4/usr/local/lib:$LD_LIBRARY_PATH
......@@ -38,6 +40,7 @@ build:
- git pull
- cargo clean
- cargo build
- rm ~/.git-credentials || echo ".git-credentials does not exist."
artifacts:
paths:
- target/release/deps/libmu_aot_llvm.so
......
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