Skip to content

Commit

Permalink
Still working on macos wheels...
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri-justeau committed Oct 1, 2024
1 parent 354a99b commit bd0d355
Showing 1 changed file with 46 additions and 40 deletions.
86 changes: 46 additions & 40 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,28 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-13, macos-12]
os: [macos-12]
#os: [macos-13, macos-12]
platform: [arm64, x86_x64]
python-version: ["3.12", "3.11", "3.10", "3.9"]
include:
- os: macos-14
platform: arm64
python-version: "3.12"
force: true
- os: macos-14
platform: arm64
python-version: "3.11"
force: true
- os: macos-14
platform: x86_x64
python-version: "3.12"
force: true
- os: macos-14
platform: x86_x64
python-version: "3.11"
force: true
python-version: ["3.9"]
#python-version: ["3.12", "3.11", "3.10", "3.9"]
# include:
# - os: macos-14
# platform: arm64
# python-version: "3.12"
# force: true
# - os: macos-14
# platform: arm64
# python-version: "3.11"
# force: true
# - os: macos-14
# platform: x86_x64
# python-version: "3.12"
# force: true
# - os: macos-14
# platform: x86_x64
# python-version: "3.11"
# force: true
steps:
# if matrix.force is not true or event is not tag, skip
- if: ${{ matrix.force }} != true || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags'))
Expand Down Expand Up @@ -73,7 +75,7 @@ jobs:
pip install -r requirements_tests.txt
pytest
- name: Upload wheel artifacts
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
#if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: actions/upload-artifact@v4
with:
name: wheel-${{matrix.os}}-${{matrix.python-version}}-${{matrix.platform}}-artifact
Expand All @@ -86,26 +88,30 @@ jobs:
#if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
strategy:
matrix:
os: [macos-13, macos-12]
platform: [arm64, x86_x64]
python-version: ["3.12", "3.11", "3.10", "3.9"]
include:
- os: macos-14
platform: arm64
python-version: "3.12"
force: true
- os: macos-14
platform: arm64
python-version: "3.11"
force: true
- os: macos-14
platform: x86_x64
python-version: "3.12"
force: true
- os: macos-14
platform: x86_x64
python-version: "3.11"
force: true
os: [ macos-12 ]
#os: [macos-13, macos-12]
platform: [ arm64, x86_x64 ]
python-version: [ "3.9" ]
# os: [macos-13, macos-12]
# platform: [arm64, x86_x64]
# python-version: ["3.12", "3.11", "3.10", "3.9"]
# include:
# - os: macos-14
# platform: arm64
# python-version: "3.12"
# force: true
# - os: macos-14
# platform: arm64
# python-version: "3.11"
# force: true
# - os: macos-14
# platform: x86_x64
# python-version: "3.12"
# force: true
# - os: macos-14
# platform: x86_x64
# python-version: "3.11"
# force: true
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down

0 comments on commit bd0d355

Please sign in to comment.