Skip to content

Commit 002db35

Browse files
ccache-test-3
1 parent 57d3460 commit 002db35

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/cache-test.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ name: Build caches for master
33
on:
44
push:
55
branches:
6-
- 'new_build_image_test-xxx'
6+
- 'new_build_image_test'
77

88
jobs:
99
build_linux:
1010
strategy:
1111
matrix:
1212
configuration: [Debug, Release]
1313
compiler: [gcc-9, gcc-13, clang-16]
14+
arch: [x86_64]
1415
cmake_options: [""]
1516
include:
1617
# Also include configurations that check if the code compiles without the graphics backends
@@ -34,7 +35,7 @@ jobs:
3435
- name: ccache
3536
uses: hendrikmuhs/ccache-action@v1.2.23
3637
with:
37-
key: ${{ runner.os }}-${{ matrix.configuration }}-${{ matrix.compiler }}
38+
key: ${{ runner.os }}-${{ matrix.configuration }}-${{ matrix.compiler }}-${{ matrix.arch }}
3839
max-size: 750MB
3940
- name: Configure ccache
4041
run: |
@@ -76,7 +77,7 @@ jobs:
7677
- name: ccache
7778
uses: hendrikmuhs/ccache-action@v1.2.23
7879
with:
79-
key: ${{ runner.os }}-${{ matrix.configuration }}-${{ matrix.compiler }}
80+
key: ${{ runner.os }}-${{ matrix.configuration }}-${{ matrix.compiler }}-${{ matrix.arch }}
8081
max-size: 750MB
8182
- name: Configure ccache
8283
run: |
@@ -87,6 +88,7 @@ jobs:
8788
env:
8889
CONFIGURATION: ${{ matrix.configuration }}
8990
COMPILER: ${{ matrix.compiler }}
91+
ARCHITECTURE: ${{ matrix.arch }}
9092
JOB_CMAKE_OPTIONS: ${{ matrix.cmake_options }}
9193
CCACHE_PATH: /usr/local/bin/ccache
9294
ENABLE_QTFRED: OFF

0 commit comments

Comments
 (0)