Skip to content

Commit 1ec001e

Browse files
author
David Braun
committed
.
1 parent 179ffcc commit 1ec001e

File tree

2 files changed

+9
-22
lines changed

2 files changed

+9
-22
lines changed

.github/workflows/all.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ jobs:
6868
pip install --upgrade certifi
6969
cd install_script
7070
python macos_install_python.py
71-
which python
72-
python --version
7371
7472
- name: Get CMake
7573
uses: lukka/get-cmake@latest
@@ -82,14 +80,17 @@ jobs:
8280
8381
- name: Build MacOS (Release)
8482
run: |
85-
export PATH="/Library/Frameworks/Python.framework/Versions/3.9/bin":$PATH
86-
mkdir build
87-
cd build
83+
export PATH=/Library/Frameworks/Python.framework/Versions/3.9:/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.9/lib:$PATH
84+
which python3
85+
python3 --version
86+
which python3
87+
python3 --version
88+
mkdir build && cd build
8889
cmake .. -G "Xcode" -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0
8990
xcodebuild -configuration Release -project ChucKDesignerCHOP.xcodeproj
9091
ls -r *
91-
install_name_tool -change @rpath/libChucKDesignerShared.dylib @loader_path/../../../libChucKDesignerShared.dylib Release/ChucKDesignerCHOP.plugin/Contents/MacOS/ChucKDesignerCHOP
92-
install_name_tool -change @rpath/libChucKDesignerShared.dylib @loader_path/../../../libChucKDesignerShared.dylib Release/ChucKListenerCHOP.plugin/Contents/MacOS/ChucKListenerCHOP
92+
install_name_tool -change @rpath/libChucKDesignerShared.dylib @loader_path/../../../libChucKDesignerShared.dylib Release/ChucKDesignerCHOP.plugin/Contents/MacOS/ChucKDesignerCHOP
93+
install_name_tool -change @rpath/libChucKDesignerShared.dylib @loader_path/../../../libChucKDesignerShared.dylib Release/ChucKListenerCHOP.plugin/Contents/MacOS/ChucKListenerCHOP
9394
9495
- name: Make distribution
9596
run: |

install_script/macos_install_python.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,6 @@
3535

3636
from typing import Union, Optional
3737

38-
# python_configurations = [
39-
# { identifier: "cp36-macosx_x86_64", version: "3.6", url: "https://www.python.org/ftp/python/3.6.8/python-3.6.8-macosx10.9.pkg" },
40-
# { identifier: "cp37-macosx_x86_64", version: "3.7", url: "https://www.python.org/ftp/python/3.7.9/python-3.7.9-macosx10.9.pkg" },
41-
# { identifier: "cp38-macosx_x86_64", version: "3.8", url: "https://www.python.org/ftp/python/3.8.10/python-3.8.10-macosx10.9.pkg" },
42-
# { identifier: "cp38-macosx_arm64", version: "3.8", url: "https://www.python.org/ftp/python/3.8.10/python-3.8.10-macosx10.9.pkg" },
43-
# { identifier: "cp38-macosx_universal2", version: "3.8", url: "https://www.python.org/ftp/python/3.8.10/python-3.8.10-macosx10.9.pkg" },
44-
# { identifier: "cp39-macosx_x86_64", version: "3.9", url: "https://www.python.org/ftp/python/3.9.7/python-3.9.7-macos11.pkg" },
45-
# { identifier: "cp39-macosx_arm64", version: "3.9", url: "https://www.python.org/ftp/python/3.9.7/python-3.9.7-macos11.pkg" },
46-
# { identifier: "cp39-macosx_universal2", version: "3.9", url: "https://www.python.org/ftp/python/3.9.7/python-3.9.7-macos11.pkg" },
47-
# { identifier: "cp310-macosx_x86_64", version: "3.10", url: "https://www.python.org/ftp/python/3.10.0/python-3.10.0-macos11.pkg" },
48-
# { identifier: "cp310-macosx_arm64", version: "3.10", url: "https://www.python.org/ftp/python/3.10.0/python-3.10.0-macos11.pkg" },
49-
# { identifier: "cp310-macosx_universal2", version: "3.10", url: "https://www.python.org/ftp/python/3.10.0/python-3.10.0-macos11.pkg" },
50-
# { identifier: "pp37-macosx_x86_64", version: "3.7", url: "https://downloads.python.org/pypy/pypy3.7-v7.3.5-osx64.tar.bz2" },
51-
# ]
5238

5339
install_certifi_script = Path(__file__).parent / "install_certifi.py"
5440

@@ -135,7 +121,7 @@ def main():
135121

136122
tmp = Path("/tmp/cibw_tmp")
137123
version = "3.9"
138-
url = "https://www.python.org/ftp/python/3.9.7/python-3.9.7-macos11.pkg"
124+
url = "https://www.python.org/ftp/python/3.9.9/python-3.9.9-macos11.pkg"
139125

140126
base_python = install_cpython(tmp, version, url)
141127
assert base_python.exists()

0 commit comments

Comments
 (0)