mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
On macOS install official Python
the GitHub/Homebrew ones only support newer macOS versions
This commit is contained in:
parent
adfd1c1266
commit
a99e6916cf
11
.github/workflows/qt5_6.yml
vendored
11
.github/workflows/qt5_6.yml
vendored
@ -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 | cut -d'.' -f1,2)
|
||||||
cmake-version: '3.28.3'
|
curl https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg -o "python.pkg"
|
||||||
|
sudo installer -pkg python.pkg -target /
|
||||||
|
python3 --version
|
||||||
|
echo '::endgroup::'
|
||||||
|
|
||||||
- name: 👷 Build
|
- name: 👷 Build
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user