From f6c8b60f83c265013a10f411a625fd522a78a315 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Thu, 29 Feb 2024 09:20:01 -0500 Subject: [PATCH] Fix clang versions --- .github/workflows/publish-appimage.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-appimage.yml b/.github/workflows/publish-appimage.yml index d03dd80b..10227f72 100644 --- a/.github/workflows/publish-appimage.yml +++ b/.github/workflows/publish-appimage.yml @@ -83,8 +83,18 @@ jobs: run: | echo "${{ secrets.GPG_DEPLOY_KEY }}" > appimage/secret.gpg gpg --import appimage/secret.gpg + - name: Set CC and CXX env vars for ubuntu-22.04 + if: matrix.os == 'ubuntu-22.04' + run: | + echo "CC=clang-14" >> $GITHUB_ENV + echo "CXX=clang++-14" >> $GITHUB_ENV + - name: Set CC and CXX env vars for ubuntu-20.04 + if: matrix.os == 'ubuntu-20.04' + run: | + echo "CC=clang-12" >> $GITHUB_ENV + echo "CXX=clang++-12" >> $GITHUB_ENV - name: Build AppImage - run: CC=clang-14 CXX=clang++-14 ./appimage/build.sh + run: ./appimage/build.sh - name: Upload AppImage artifact uses: actions/upload-artifact@v4 with: