From 425008fcab8debae9d49b098859e32b206e0219b Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 20 Jul 2026 00:31:48 +1000 Subject: [PATCH] [github] workflow: fix random clang build errors due to runner issue Ref: https://github.com/actions/runner-images/issues/14296 --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb74c06b..b0b0fec9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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