From 37da1bd428fa228a048f7b36c37562b08c5b733c Mon Sep 17 00:00:00 2001 From: Goran Jelic-Cizmek Date: Fri, 1 Nov 2024 16:30:02 +0100 Subject: [PATCH] Stuff --- .github/workflows/wheels.yml | 34 +++++++++++----------------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 54c308676f..913dddd7a5 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -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: | @@ -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: