Skip to content

Commit 23c49b5

Browse files
committed
ci(tmp): force clang on linux
1 parent d1e69d0 commit 23c49b5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/actions/ngen-build/action.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ runs:
189189
# and with older pybind11 versions, the minimum cmake version is set to 3.4
190190
# which causes cmake configuration to fail.
191191
run: |
192+
which apt && sudo apt update && sudo apt install clang-17 && export CC=clang && echo "USING CLANG"
192193
export BOOST_ROOT="$(pwd)/boost_1_86_0"
193194
export CFLAGS="-fsanitize=address -O1 -g -fno-omit-frame-pointer -Werror"
194195
export CXXFLAGS="-fsanitize=address -O1 -g -fno-omit-frame-pointer -pedantic-errors -Werror -Wpessimizing-move -Wparentheses -Wrange-loop-construct -Wsuggest-override"

.github/workflows/test_and_validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
# The type of runner that the job will run on
117117
strategy:
118118
matrix:
119-
os: [ubuntu-22.04, macos-26]
119+
os: [ubuntu-24.04, macos-26]
120120
fail-fast: false
121121
runs-on: ${{ matrix.os }}
122122

0 commit comments

Comments
 (0)