diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a2b33d9a..8f75d7e89 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,6 +85,16 @@ jobs: echo "$GITHUB_WORKSPACE/llvm/bin" >> $GITHUB_PATH if: matrix.config.id == 'win' + - name: Update Clang (Linux) + shell: bash + run: | + sudo apt update + sudo apt remove clang-14 + sudo apt install gcc-12 g++-12 + sudo ln -sf /usr/bin/gcc-12 /usr/bin/clang + sudo ln -sf /usr/bin/g++-12 /usr/bin/clang++ + if: matrix.config.id == 'linux' + - name: Configure run: > cmake codegen -B codegen/build