Skip to content

Commit bc7bdf7

Browse files
committed
fix: Proper build check 2
1 parent c4632ad commit bc7bdf7

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,12 +326,12 @@ jobs:
326326
.\venv\Scripts\pytest .\tests\test_unit_tests.py -v
327327
328328
build-macos-wheel:
329-
name: Build macOS wheel (Universal)
329+
name: Build macOS wheels
330330
uses: ./.github/workflows/build-wheel.yml
331331
needs: [tests-unix, read-version]
332332
with:
333333
python-version: "3.10"
334-
runs-on: macos-latest
334+
runs-on: ${{ matrix.runs-on }}
335335
artifact-name: wheels-macos-${{ matrix.target }}
336336
architecture: ${{ matrix.target }}
337337
c2pa-version: ${{ needs.read-version.outputs.c2pa-native-version }}
@@ -342,6 +342,10 @@ jobs:
342342
include:
343343
- target: universal2
344344
runs-on: macos-latest
345+
- target: arm64
346+
runs-on: macos-latest
347+
- target: x86_64
348+
runs-on: macos-13
345349

346350
if: |
347351
github.event_name != 'pull_request' ||
@@ -351,15 +355,15 @@ jobs:
351355
contains(github.event.pull_request.labels.*.name, 'safe to test')
352356
353357
test-built-macos-wheel:
354-
name: Test macOS built wheel (Universal)
358+
name: Test macOS built wheels
355359
needs: build-macos-wheel
356360
runs-on: ${{ matrix.runs-on }}
357361
strategy:
358362
matrix:
359363
include:
360-
- target: universal2
364+
- target: arm64
361365
runs-on: macos-latest
362-
- target: universal2
366+
- target: x86_64
363367
runs-on: macos-13
364368

365369
if: |

0 commit comments

Comments
 (0)