Skip to content

Commit

Permalink
Fix mac builds ... once again
Browse files Browse the repository at this point in the history
Apparently, xcode 14 has a reported linker bug which prevents a
successful build. The recommended workaround is to revert toolchain to
last known good version (v13.4.1). More information can be found here -

actions/runner-images#6350
  • Loading branch information
hs-apotell committed Oct 21, 2022
1 parent ebb1996 commit a0ba63e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,11 @@ jobs:

- name: Configure compiler
run: |
# Default xcode version 14.0.1 has reported bugs with linker
# Current recommended workaround is to downgrade to last known good version.
# https://github.com/actions/runner-images/issues/6350
sudo xcode-select -s '/Applications/Xcode_13.4.1.app/Contents/Developer'
if [ "${{matrix.compiler}}" == "clang" ]; then
echo 'CC=clang' >> $GITHUB_ENV
echo 'CXX=clang++' >> $GITHUB_ENV
Expand Down

0 comments on commit a0ba63e

Please sign in to comment.