From: Nick Porter Date: Wed, 17 Aug 2022 14:04:08 +0000 (+0100) Subject: Set path to use homebrew clang rather than Apple's version X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5302442e48e4fc32b4a0c53da200393174664592;p=thirdparty%2Ffreeradius-server.git Set path to use homebrew clang rather than Apple's version --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96473057a70..2d0835218c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -183,6 +183,13 @@ jobs: sudo apt-get install -y --no-install-recommends gcc-11 gdb lldb sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 60 && sudo update-alternatives --set gcc /usr/bin/gcc-11 + # + # Ensure the homebrew version of clang is run rather than the Apple compiler. + # + - name: Set path for clang + if: ${{ runner.os == 'macOS' }} + run: | + echo "PATH=`brew --prefix`/opt/llvm/bin/:$PATH" >> $GITHUB_ENV # # Build using some alternative libraries