From 91808176a1ea3950dfed9cb843edd7ee195d87aa Mon Sep 17 00:00:00 2001 From: Qijia Liu Date: Fri, 18 Aug 2023 20:56:18 -0400 Subject: [PATCH] Fix clang job (#693) --- .github/workflows/linux-build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 3bc1ca5e3..5a4284f55 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -21,6 +21,12 @@ jobs: repository: ${{ inputs.repository }} submodules: recursive + - name: Use clang + if: ${{ matrix.compiler == 'clang' }} + run: | + echo "CC=/usr/bin/clang" >> $GITHUB_ENV + echo "CXX=/usr/bin/clang++" >> $GITHUB_ENV + - name: Install dependency run: ./action-install-linux.sh