[github] workflow: fix random clang build errors due to runner issue
Some checks are pending
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Waiting to run
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Waiting to run
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Waiting to run
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Waiting to run
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Waiting to run
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Waiting to run
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Waiting to run
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Waiting to run
build / module (push) Waiting to run
build / host-linux (push) Waiting to run
build / host-windows-cross (push) Waiting to run
build / host-windows-native (push) Waiting to run
build / idd (push) Waiting to run
build / obs (clang) (push) Waiting to run
build / obs (gcc) (push) Waiting to run
build / docs (push) Waiting to run

Ref: https://github.com/actions/runner-images/issues/14296
This commit is contained in:
Geoffrey McRae
2026-07-20 00:31:48 +10:00
parent ceb5ac6f16
commit 425008fcab

View File

@@ -43,6 +43,7 @@ jobs:
-DCMAKE_LINKER:FILEPATH=/usr/bin/ld \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DENABLE_LIBDECOR=${{ matrix.wayland_shell == 'libdecor' }} \
-DOPTIMIZE_FOR_NATIVE=OFF \
..
- name: Build client
run: |
@@ -210,7 +211,9 @@ jobs:
run: |
mkdir obs/build
cd obs/build
CC=/usr/bin/${{ matrix.cc }} cmake ..
CC=/usr/bin/${{ matrix.cc }} cmake \
-DOPTIMIZE_FOR_NATIVE=OFF \
..
- name: Build obs plugin
run: |
cd obs/build