CI: Use clang for js artifacts on Linux

We have optimizations that only work with clang (namely, our use of
FLATTEN in the bytecode interpreter).
This commit is contained in:
Timothy Flynn 2024-11-08 08:17:19 -05:00 committed by Andrew Kaster
parent 74fe899d79
commit f9df95af50
Notes: github-actions[bot] 2024-11-08 18:30:13 +00:00

View file

@ -50,8 +50,8 @@ jobs:
- name: Create build directory Ubuntu - name: Create build directory Ubuntu
run: | run: |
cmake --preset Distribution_CI \ cmake --preset Distribution_CI \
-DCMAKE_C_COMPILER=gcc-13 \ -DCMAKE_C_COMPILER=clang-18 \
-DCMAKE_CXX_COMPILER=g++-13 \ -DCMAKE_CXX_COMPILER=clang++-18 \
-DENABLE_GUI_TARGETS=OFF -DENABLE_GUI_TARGETS=OFF
if: ${{ matrix.os_name == 'Linux' }} if: ${{ matrix.os_name == 'Linux' }}