@@ -15,13 +15,14 @@ jobs:
1515 # ###################
1616
1717 Unix :
18- name : ${{ matrix.name }} (${{ matrix.config }})
18+ name : ${{ matrix.name }} (${{ matrix.config }}, large_index=${{ matrix.large_index }} )
1919 runs-on : ${{ matrix.os }}
2020 strategy :
2121 fail-fast : false
2222 matrix :
2323 os : [ubuntu-latest, macos-latest]
2424 config : [Debug, Release]
25+ large_index : [ON, OFF]
2526 include :
2627 - os : macos-latest
2728 name : macOS
5758 uses : actions/cache@v5
5859 with :
5960 path : ${{ env.CACHE_PATH }}
60- key : ${{ runner.os }}-${{ matrix.config }}-cache-${{ github.sha }}
61- restore-keys : ${{ runner.os }}-${{ matrix.config }}-cache
61+ key : ${{ runner.os }}-${{ matrix.config }}-${{ matrix.large_index }}- cache-${{ github.sha }}
62+ restore-keys : ${{ runner.os }}-${{ matrix.config }}-${{ matrix.large_index }}- cache
6263
6364 - name : Prepare ccache
6465 run : |
7172 cd build
7273 cmake .. \
7374 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
75+ -DPOLYSOLVE_LARGE_INDEX=${{ matrix.large_index }} \
7476 -DCMAKE_BUILD_TYPE=${{ matrix.config }} \
7577
7678 - name : Build
@@ -84,13 +86,15 @@ jobs:
8486 # ###################
8587
8688 Windows :
89+ name : Windows (${{ matrix.config }}, large_index=${{ matrix.large_index }})
8790 runs-on : windows-latest
8891 env :
8992 SCCACHE_IDLE_TIMEOUT : " 12000"
9093 strategy :
9194 fail-fast : false
9295 matrix :
9396 config : [Debug, Release]
97+ large_index : [ON, OFF]
9498 steps :
9599 - name : Checkout repository
96100 uses : actions/checkout@v6
@@ -106,8 +110,8 @@ jobs:
106110 uses : actions/cache@v5
107111 with :
108112 path : ${{ env.appdata }}\Mozilla\sccache
109- key : ${{ runner.os }}-${{ matrix.config }}-cache-${{ github.sha }}
110- restore-keys : ${{ runner.os }}-${{ matrix.config }}-cache
113+ key : ${{ runner.os }}-${{ matrix.config }}-${{ matrix.large_index }}- cache-${{ github.sha }}
114+ restore-keys : ${{ runner.os }}-${{ matrix.config }}-${{ matrix.large_index }}- cache
111115
112116 - name : Prepare sccache
113117 run : |
@@ -130,6 +134,7 @@ jobs:
130134 -DCMAKE_C_COMPILER=cl.exe ^
131135 -DCMAKE_CXX_COMPILER=cl.exe ^
132136 -DCMAKE_CXX_COMPILER_LAUNCHER=sccache ^
137+ -DPOLYSOLVE_LARGE_INDEX=${{ matrix.large_index }} ^
133138 -DCMAKE_BUILD_TYPE=${{ matrix.config }} ^
134139 -B build ^
135140 -S .
0 commit comments