From 4a34a60d93db820bd3c0fc409a545da413dc7183 Mon Sep 17 00:00:00 2001 From: Luke Wilde Date: Fri, 22 May 2026 18:38:58 +0200 Subject: [PATCH] CI: Pass CMake options in the Fuzzers build We were forgetting to pass CMake options in the Fuzzers build. These CMake options contain -DENABLE_CI_BASELINE_CPU=ON, which sets a baseline architecture to properly allow ccache sharing between different runners. Without it, it defaults to the native architecture, which is then cached and can be used on a runner that doesn't have the same instruction set. This is targetted at fixing the "Illegal instruction" crash we've been seeing with the bindings generator. --- .github/workflows/lagom-template.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lagom-template.yml b/.github/workflows/lagom-template.yml index 1925713024..925bbad5e0 100644 --- a/.github/workflows/lagom-template.yml +++ b/.github/workflows/lagom-template.yml @@ -155,11 +155,13 @@ jobs: VCPKG_CACHE_MODE: ${{ github.ref == 'refs/heads/master' && 'write' || '' }} run: | cmake --preset=Host_Tools -B "${GITHUB_WORKSPACE}/Build/host-tools-build" \ + ${{ steps.build-parameters.outputs.cmake_options }} \ -DPython3_EXECUTABLE=${{ env.pythonLocation }}/bin/python ninja -C "${GITHUB_WORKSPACE}/Build/host-tools-build" install cmake --preset ${{ inputs.build_preset }} -B Build \ + ${{ steps.build-parameters.outputs.cmake_options }} \ -DPython3_EXECUTABLE=${{ env.pythonLocation }}/bin/python \ -DCMAKE_C_COMPILER=${{ steps.build-parameters.outputs.host_cc }} \ -DCMAKE_CXX_COMPILER=${{ steps.build-parameters.outputs.host_cxx }} \