This commit is contained in:
Lord-Grey 2024-11-29 18:26:48 +01:00
commit 16d0e4b908

View File

@ -97,7 +97,7 @@ jobs:
macOS: macOS:
name: 🍏 macOS x64 name: 🍏 macOS x64
runs-on: macos-latest runs-on: macos-13
steps: steps:
- name: ⬇ Checkout - name: ⬇ Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -120,10 +120,13 @@ jobs:
brew install qt@${{ inputs.qt_version }} vulkan-headers ninja libftdi || true brew install qt@${{ inputs.qt_version }} vulkan-headers ninja libftdi || true
echo '::endgroup::' echo '::endgroup::'
- name: Temporarily downgrade CMake to 3.28.3 # Please remove if GitHub has updated Cmake (greater than 3.30.0) echo '::group::Install official Python'
uses: jwlawson/actions-setup-cmake@v2 # We need the official Python, because the GA ones only support newer macOS versions
with: export PYTHON_VERSION=$(python3 --version | cut -d' ' -f2)
cmake-version: '3.28.3' wget -O ${{ github.workspace }}/python.pkg https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg
sudo installer -pkg ${{ github.workspace }}/python.pkg -target /
python3 --version
echo '::endgroup::'
- name: 👷 Build - name: 👷 Build
shell: bash shell: bash