Skip to content

Commit

Permalink
Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Nov 1, 2024
1 parent baa5d10 commit 37da1bd
Showing 1 changed file with 11 additions and 23 deletions.
34 changes: 11 additions & 23 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,19 @@ jobs:
name: Build MacOS Wheels
runs-on: ${{ matrix.os }}
timeout-minutes: 60
fail-fast: true
strategy:
matrix:
os: [macos-14]
include:
- python-version: '3.8'
python-org-version: '3.8.9'
python-installer: 'macosx10.9.pkg'
- python-version: '3.9'
python-org-version: '3.9.13'
python-installer: 'macos11.pkg'
- python-version: '3.10'
python-org-version: '3.10.11'
python-installer: 'macos11.pkg'
- python-version: '3.11'
python-org-version: '3.11.7'
python-installer: 'macos11.pkg'
- python-version: '3.12'
python-org-version: '3.12.0'
python-installer: 'macos11.pkg'
python-version: [3.9, 3.10] # change later

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Python from python.org
run: |
installer="python-${{ matrix.python-org-version }}-${{ matrix.python-installer }}"
url="https://www.python.org/ftp/python/${{ matrix.python-org-version }}/${installer}"
curl -LO $url
sudo installer -pkg $installer -target /
- uses: actions/setup-python@v5
with:
python-version: ${{ python-version }}

- name: Install OSX System Dependencies
run: |
Expand All @@ -65,6 +48,11 @@ jobs:
run: |
packaging/python/build_wheels.bash osx ${{ matrix.python-version }} coreneuron
- name: Test wheel
run: |
minor_version="$(python -c 'import sys;print(sys.version_info.minor)')"
packaging/python/test_wheels.sh $(which python) wheelhouse/*cp3${minor_version}*.whl
- name: Upload wheel files
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 37da1bd

Please sign in to comment.