Skip to content

Commit

Permalink
Mac build update
Browse files Browse the repository at this point in the history
  • Loading branch information
bitlogik committed Jun 19, 2024
1 parent c9403b1 commit 4549bdd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ jobs:
build_mac:

runs-on: macos-11
runs-on: macos-13-xlarge

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.10'
- name: Build bin package
run: |
./package/Build-Mac.sh
Expand Down
6 changes: 4 additions & 2 deletions package/Build-Mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Build the uniblow MacOS binary package release

# Requires Xcode developer tools
# Python 3.9
# Python 3.10
# If needed, python3 -m venv unibenv should trigger the dev tools installation


Expand All @@ -15,7 +15,7 @@ python3 -m venv unibenv
source unibenv/bin/activate

echo Installing pip dependencies ...
python -m pip install pip==21.2.1
python -m pip install -U pip
python -m pip install wxPython>=4.2.0
python -m pip install .

Expand All @@ -32,6 +32,8 @@ setopt +o nomatch
rm -Rf dist/uniblow.app/Contents/MacOS/*-info
rm -Rf dist/uniblow.app/Contents/Resources/*-info
setopt -o nomatch
rm -Rf dist/uniblow.app/Contents/Frameworks/numpy/.dylibs
rm -Rf dist/uniblow.app/Contents/Frameworks/PIL/.dylibs

echo Compilation done.
echo Binary result is in the dist folder.
Expand Down

0 comments on commit 4549bdd

Please sign in to comment.