From 5d8737502879cc0548880d0a3a5578d6a15b32d8 Mon Sep 17 00:00:00 2001 From: Tony Mountifield Date: Sat, 8 May 2021 11:31:50 +0100 Subject: [PATCH 1/2] Add action to select Xcode 11.7 for Qt compatibility on Mac --- .github/workflows/autobuild.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index f8196ad87e..2d6709a63e 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -134,6 +134,12 @@ jobs: runs-on: ${{ matrix.config.building_on_os }} steps: + - name: Select Xcode version for Mac + if: ${{ matrix.config.target_os == 'macos' }} + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '11.7' + # Checkout code - name: Checkout code uses: actions/checkout@v2 From 5275c3060cc02ae728b47564bbff3294dd36edbf Mon Sep 17 00:00:00 2001 From: Tony Mountifield Date: Sat, 8 May 2021 22:28:32 +0100 Subject: [PATCH 2/2] Add explanatory comment --- .github/workflows/autobuild.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 2d6709a63e..d6fb37e932 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -134,6 +134,9 @@ jobs: runs-on: ${{ matrix.config.building_on_os }} steps: + + # For Qt5 on Mac, we need to ensure SDK 10.15 is used, and not SDK 11.x + # This is done by selecting Xcode 11.7 instead of the latest default of 12.x - name: Select Xcode version for Mac if: ${{ matrix.config.target_os == 'macos' }} uses: maxim-lobanov/setup-xcode@v1