Skip to content

Commit 2efa566

Browse files
committed
Update github actions to require AVX-512 supported runner
1 parent d6cc0c6 commit 2efa566

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/coverage-pages.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ jobs:
2222
outputs:
2323
ctest_status: ${{ steps.tests.outputs.status }}
2424
steps:
25+
- name: Ensure CPU support
26+
run: |
27+
if grep -q "avx512f" /proc/cpuinfo; then
28+
lscpu
29+
else
30+
echo "CPU not supporting AVX-512"
31+
lscpu
32+
exit 1
33+
fi
34+
2535
- name: Check out repository
2636
uses: actions/checkout@v7
2737
with:

0 commit comments

Comments
 (0)