Skip to content
Snippets Groups Projects
Commit b5c6942f authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Experiment for the caches...

hoping this doesn't leave an empty zip file laying aorund.
parent 0ca7156d
Branches
Tags
No related merge requests found
......@@ -181,6 +181,11 @@ spec:
- cd src/sbbs3
- touch depend
- $[[ inputs.gnu_make ]] $[[ inputs.build_flags ]] $BUILD_ARGS gitinfo
cache:
key: "${CI_PIPELINE_ID}-gitinfo"
files:
- "src/sbbs3/git_*.h"
policy: push
artifacts:
expire_in: 30 mins
name: "gitinfo-$[[ inputs.os ]]-$[[ inputs.platform ]]"
......@@ -188,6 +193,18 @@ spec:
- "src/sbbs3/git_*.h"
needs: []
"$[[ inputs.os ]]-$[[ inputs.platform ]] [cleanup]":
extends:
- .$[[ inputs.os ]]-build
script:
- echo "Delete ${CI_PIPELINE_ID}-gitinfo"
cache:
key: "${CI_PIPELINE_ID}-gitinfo"
files:
- "src/sbbs3/git_*.h"
policy: push
needs: []
"$[[ inputs.os ]]-$[[ inputs.platform ]] [scfg]":
extends:
- .$[[ inputs.os ]]-build
......
......@@ -2,6 +2,11 @@ variables:
BUILD_ARGS:
description: "Extra arguments to pass on gmake command lines."
states:
- build
- test
- cleanup
.rules:
rules:
- changes:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment