diff --git a/.freebsdci.sh b/.freebsdci.sh index e83c4aa6c1949..8ba2e8e30f235 100755 --- a/.freebsdci.sh +++ b/.freebsdci.sh @@ -2,10 +2,11 @@ # FreeBSD CI Build Scripts # The flow of a FreeBSD CI (https://freebsdci.julialang.org) build: # -# 1. `compile` -# 2. `build-state` -# 3. `runtests` -# 4. `test-embedding` +# 1. `cleanup` +# 2. `compile` +# 3. `build-state` +# 4. `runtests` +# 5. `test-embedding` # # Detail of flow is controlled by the variable `factory` # here. @@ -19,11 +20,16 @@ build-state(){ gmake build-stats } +cleanup(){ + git clean -fdx +} + compile(){ export MALLOC_CONF='junk:false' export VERBOSE=1 export FORCE_ASSERTIONS=1 export LLVM_ASSERTIONS=1 + export USECCACHE=1 gmake all -j $MAKE_JOBS_NUMBER }