ci: Select explicit Xcode version on macOS
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 3 Jan 2021 13:13:25 +0000 (14:13 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 4 Jan 2021 07:16:42 +0000 (08:16 +0100)
Github has bumped the default version for Xcode to one that is not
officially supported by the current version of Qt, and thus causes
warnings (and potentially other issues down the line).

Avoid this by explicitly selecting Xcode 10.3, which is currently the
oldest version provided by Github actions.

.github/workflows/main.yml

index 125b99b..c0dae8e 100644 (file)
@@ -93,6 +93,12 @@ jobs:
       CCACHE_MAXSIZE: 100M
 
     steps:
+    - name: Select Xcode version
+      uses: maxim-lobanov/setup-xcode@v1
+      with:
+        # Newer Xcode versions may not officially be supported by Qt
+        xcode-version: '10.3'
+
     - name: Check out source code
       uses: actions/checkout@v2
       with: