diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9682ef7a794531aff38bc7d2b8af0547c3dafb14..412b1c4630fc437b7e20e46b5417ed3075b510fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -67,16 +67,21 @@ pkg_source: pkg_windows: stage: pkg script: - - ln -s ~/tarballs windows/deps/ + - mkdir -p windows/deps/tarballs && cp ~/tarballs/matlab64-* windows/deps/tarballs/ - make -C windows + - rm windows/deps/tarballs/matlab64-* # No need to cache these files cache: - key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" - paths: - - windows/deps/sources64/ - - windows/deps/lib64/ - # We do not cache lib64-msys2, mingw64, octave64 and - # matlab64, because those are simply extracted from a tarball. It - # would be a waste of space and of (re-compression) time. + - key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" + paths: + - windows/deps/sources64/ + - windows/deps/lib64/ + # We do not cache lib64-msys2, mingw64, octave64 and + # matlab64, because those are simply extracted from a tarball. It + # would be a waste of space and of (re-compression) time. + - key: $CI_JOB_NAME + # This cache is shared between all branches, to save space + paths: + - windows/deps/tarballs/ artifacts: paths: - windows/exe/*