FIX: add cache cleaning before installation

This commit is contained in:
Germann Elsa Sylvia
2022-11-25 10:29:22 +01:00
parent 0b817b2f6d
commit 55d09713fc

View File

@ -17,6 +17,7 @@ build_test:
script:
- git clone ${SPACK_REPO} -b ${SPACK_BRANCH}
- . "./spack/share/spack/setup-env.sh"
- spack clean -a # Make sure spack doesn't have any caches left
- spack env activate --without-view env/merlin/${SPACK_PCKG}
- spack install -j ${MAX_JOB_NB} --add git-lfs
- spack develop ${SPACK_SPEC}