diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index f0568cad5..dce70aeea 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -330,11 +330,11 @@ jobs: name: binaries-${{ github.job }} path: pfx/**/* - # Only verify build support on old macOS - macos-11: - runs-on: macos-11 + # Only verify build support on older macOS and SDK + macos-12: + runs-on: macos-12 needs: [ what-to-make ] - if: false # ${{ needs.what-to-make.outputs.make-mac == 'true' }} + if: ${{ needs.what-to-make.outputs.make-mac == 'true' }} steps: - name: Show Configuration run: | @@ -349,6 +349,9 @@ jobs: with: path: src submodules: recursive + - name: Set Xcode to 13.2.1 + run: | + sudo xcode-select --switch /Applications/Xcode_13.2.1.app - name: Configure run: | cmake \ @@ -358,8 +361,9 @@ jobs: -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=pfx \ -DCMAKE_OSX_ARCHITECTURES='x86_64' \ - -DCMAKE_PREFIX_PATH=`brew --prefix`/opt/qt \ + -DENABLE_GTK=OFF \ -DENABLE_MAC=${{ (needs.what-to-make.outputs.make-mac == 'true') && 'ON' || 'OFF' }} \ + -DENABLE_QT=OFF \ -DENABLE_TESTS=OFF \ -DENABLE_WERROR=ON \ -DRUN_CLANG_TIDY=OFF @@ -608,7 +612,6 @@ jobs: -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=pfx \ -DCMAKE_OSX_ARCHITECTURES='x86_64;arm64' \ - -DCMAKE_PREFIX_PATH=`brew --prefix`/opt/qt \ -DENABLE_CLI=${{ (needs.what-to-make.outputs.make-cli == 'true') && 'ON' || 'OFF' }} \ -DENABLE_DAEMON=${{ (needs.what-to-make.outputs.make-daemon == 'true') && 'ON' || 'OFF' }} \ -DENABLE_GTK=OFF \