Skip to content

Commit 495784f

Browse files
github CI latest gcc seems to have a compiler error
Working around it by using clang instead
1 parent d705e42 commit 495784f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cmake.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
- name: Install deps
2020
run: |
2121
sudo apt-get update
22-
sudo apt-get install git cmake pkg-config python3 libxcb1-dev libxrandr-dev libxcb-randr0-dev libtbb-dev libvulkan-dev spirv-headers
22+
sudo apt-get install git cmake pkg-config python3 libxcb1-dev libxrandr-dev libxcb-randr0-dev libtbb-dev libvulkan-dev spirv-headers clang
2323
2424
- name: Checkout
2525
run: git submodule update --init --recursive --force
2626

2727
- name: Configure CMake
28-
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
28+
run: CXX=clang++ CC=clang cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
2929

3030
- name: Build
3131
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

0 commit comments

Comments
 (0)