Skip to content

Commit

Permalink
fix github actions assuming that macos runners are x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellkammer committed Jul 16, 2024
1 parent 9b146e2 commit 825d879
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [macOS-latest, windows-latest, ubuntu-latest]
python-version: [ "3.9", "3.10", "3.11" ]
python-version: [ "3.10", "3.11", "3.12" ]
steps:
- uses: actions/checkout@v3

Expand All @@ -18,20 +18,28 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: prepare tests in linux
if: runner.os == 'linux'
- name: prepare tests in linux x86_64
if: runner.os == 'linux' && runner.arch == 'X64'
run: |
mkdir -p ~/vamp
cd testci
cp linux-x86_64/pyin.so pyin.n3 pyin.cat ~/vamp
- name: prepare tests in mac
if: runner.os == 'macos'
- name: prepare tests in mac x86_64
if: runner.os == 'macos' && runner.arch == 'X64'
run: |
mkdir -p ~/Library/Audio/Plug-Ins/Vamp
cd testci
cp macos-x86_64/pyin.dylib pyin.n3 pyin.cat ~/Library/Audio/Plug-Ins/Vamp
- name: prepare tests in mac arm64
if: runner.os == 'macos' && runner.arch == 'ARM64'
run: |
mkdir -p ~/Library/Audio/Plug-Ins/Vamp
cd testci
cp macos-arm64/pyin.dylib pyin.n3 pyin.cat ~/Library/Audio/Plug-Ins/Vamp
- name: prepare tests win
if: runner.os == 'windows'
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Build wheels
env:
CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-*'
CIBW_BUILD: 'cp310-* cp311-* cp312-*'
CIBW_ARCHS_MACOS: 'x86_64 arm64'
CIBW_SKIP: 'pp* *686* *-musllinux_*'
CIBW_BUILD_VERBOSITY: 2
Expand Down

0 comments on commit 825d879

Please sign in to comment.