From 17451dfd92be7dffad584966e5011e2386ca0876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Wed, 20 Mar 2024 12:10:18 -0400 Subject: [PATCH] Attempt to cache the autoconf cache. --- .gitlab-ci-unix.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci-unix.yml b/.gitlab-ci-unix.yml index 33e1594251..5cd7315a8f 100644 --- a/.gitlab-ci-unix.yml +++ b/.gitlab-ci-unix.yml @@ -40,7 +40,7 @@ spec: script: - cd 3rdp/build - touch depend - - $[[ inputs.gnu_make ]] $[[ inputs.build_flags ]] $BUILD_ARGS libmozjs + - $[[ inputs.gnu_make ]] $[[ inputs.build_flags ]] JS_CONFIGURE_ARGS="--config-file=smconfig.cache" $BUILD_ARGS libmozjs artifacts: expire_in: 30 mins name: "spidermonkey-$[[ inputs.os ]]-$[[ inputs.platform ]]" @@ -50,6 +50,10 @@ spec: - if: '"$[[ inputs.no_javascript ]]" == "yes"' when: never - !reference [.rules, rules] + cache: + key: $CI_JOB_NAME + paths: + - 3rdp/build/smconfig.cache "$[[ inputs.os ]]-$[[ inputs.platform ]] [cryptlib]": extends: -- GitLab