CI: Save asan packages in a different cache

This commit is contained in:
SirLynix 2024-02-05 16:56:00 +01:00
parent bcd64a0ad0
commit ff4277e97f
2 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ jobs:
kind: [shared, static]
confs:
- { mode: debug, archive: yes }
- { mode: debug, config: --asan=y, archive: false }
- { mode: debug, config: --asan=y, archive: false, cache_key: -asan }
- { mode: debug, config: --lsan=y, archive: false }
- { mode: debug, config: --tsan=y, archive: false }
- { mode: releasedbg, archive: yes }
@ -74,7 +74,7 @@ jobs:
uses: actions/cache/restore@v4
with:
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
key: Linux-${{ matrix.arch }}-${{ matrix.confs.mode }}-${{ steps.dep_hash.outputs.hash }}-W${{ steps.cache_key.outputs.key }}
key: Linux-${{ matrix.arch }}-${{ matrix.confs.mode }}${{ matrix.confs.cache_key }}-${{ steps.dep_hash.outputs.hash }}-W${{ steps.cache_key.outputs.key }}
# Setup compilation mode and install project dependencies
- name: Configure xmake and install dependencies

View File

@ -26,7 +26,7 @@ jobs:
kind: [shared, static]
confs:
- { mode: debug, archive: yes }
- { mode: debug, config: --asan=y, archive: false }
- { mode: debug, config: --asan=y, archive: false, cache_key: -asan }
- { mode: debug, config: --lsan=y, archive: false }
- { mode: debug, config: --tsan=y, archive: false }
- { mode: releasedbg, archive: yes }
@ -68,7 +68,7 @@ jobs:
uses: actions/cache/restore@v4
with:
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
key: macOS-${{ matrix.arch }}-${{ matrix.confs.mode }}-${{ steps.dep_hash.outputs.hash }}-W${{ steps.cache_key.outputs.key }}
key: macOS-${{ matrix.arch }}-${{ matrix.confs.mode }}${{ matrix.confs.cache_key }}-${{ steps.dep_hash.outputs.hash }}-W${{ steps.cache_key.outputs.key }}
# Setup compilation mode and install project dependencies
- name: Configure xmake and install dependencies