Skip to content

Commit

Permalink
Add some mac to see if it's better
Browse files Browse the repository at this point in the history
  • Loading branch information
paulannetts committed Oct 4, 2024
1 parent 2a16c5b commit ac1bebc
Showing 1 changed file with 33 additions and 28 deletions.
61 changes: 33 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,34 +59,39 @@ jobs:
name: wheels-linux-${{ matrix.platform.target }}
path: dist

# macos:
# runs-on: ${{ matrix.platform.runner }}
# strategy:
# matrix:
# python-version: [3.9]
# platform:
# - runner: macos-12
# target: x86_64
# - runner: macos-14
# target: aarch64
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
# - name: Build wheels
# uses: PyO3/maturin-action@v1
# env:
# RUSTFLAGS: -L espeak-ng/src/.libs
# with:
# target: ${{ matrix.platform.target }}
# args: --release --out dist --find-interpreter
# sccache: 'true'
# - name: Upload wheels
# uses: actions/upload-artifact@v4
# with:
# name: wheels-macos-${{ matrix.platform.target }}
# path: dist
macos:
runs-on: ${{ matrix.platform.runner }}
strategy:
matrix:
python-version: [3.9]
platform:
- runner: macos-12
target: x86_64
# - runner: macos-14
# target: aarch64
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Build bindings
run: |
tools/build.sh
- name: Build wheels
uses: PyO3/maturin-action@v1
env:
RUSTFLAGS: -L espeak-ng/src/.libs
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.platform.target }}
path: dist

# sdist:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit ac1bebc

Please sign in to comment.