Skip to content

Commit dbe6a5e

Browse files
sbryngelsonclaude
andcommitted
ci: remove build cache from GitHub runners (prevents SIGILL, negligible speedup)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1793498 commit dbe6a5e

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -98,20 +98,6 @@ jobs:
9898
- name: Clone
9999
uses: actions/checkout@v4
100100

101-
- name: CPU Architecture Hash
102-
id: cpu
103-
run: |
104-
# Include CPU model in cache key so binaries compiled with -march=native
105-
# on one runner aren't reused on a runner with a different ISA (→ SIGILL).
106-
arch=$(gcc -march=native -Q --help=target 2>/dev/null | grep -m1 '^\s*-march=' | awk '{print $2}')
107-
echo "arch=${arch:-unknown}" >> "$GITHUB_OUTPUT"
108-
109-
- name: Restore Build Cache
110-
uses: actions/cache@v4
111-
with:
112-
path: build
113-
key: mfc-build-${{ matrix.os }}-${{ matrix.mpi }}-${{ matrix.debug }}-${{ matrix.precision }}-${{ matrix.intel }}-${{ steps.cpu.outputs.arch }}-${{ hashFiles('CMakeLists.txt', 'toolchain/dependencies/**', 'toolchain/cmake/**', 'src/**/*.fpp', 'src/**/*.f90') }}
114-
115101
- name: Setup MacOS
116102
if: matrix.os == 'macos'
117103
run: |

0 commit comments

Comments
 (0)