Skip to content

Commit

Permalink
Try new mac binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgerhardt committed Dec 3, 2024
1 parent 8ae6581 commit 1a655ec
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/minichlink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
fail-fast: false
matrix:
# See https://github.com/actions/runner-images?tab=readme-ov-file#available-images
# "macos-14-large" is Intel-based (x64)
# "macos-13" is Intel-based (x64)
# "macos-14" is ARM64 based
os: [ubuntu-latest, macos-14-large, macos-14]
os: [ubuntu-latest, macos-13 , macos-14]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
Expand All @@ -30,7 +30,7 @@ jobs:
make clean
make V=1 -j3
- name: Build (Mac)
if: ${{ matrix.os == 'macos-14-large' || matrix.os == 'macos-14' }}
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14' }}
run: |
cd minichlink
make clean
Expand All @@ -51,8 +51,8 @@ jobs:
if: ${{ matrix.os == 'ubuntu-latest' }}
run: tar czf minichlink.tar.gz -C minichlink minichlink minichlink.so 99-minichlink.rules
- name: "Pack (Mac)"
if: ${{ matrix.os == 'macos-14-large' || matrix.os == 'macos-14' }}
run: tar czf minichlink.tar.gz -C minichlink minichlink
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14' }}
run: tar czf minichlink.tar.gz -C minichlink minichlink libusb-1.0.0.dylib
# no packing needed for Windows as it's .exe only

- name: "Upload minichlink (Linux)"
Expand All @@ -61,11 +61,11 @@ jobs:
with:
name: minichlink (Linux)
path: minichlink.tar.gz
- name: "Upload minichlink (MacOS 14 Intel)"
if: ${{ matrix.os == 'macos-14-large' }}
- name: "Upload minichlink (MacOS 13 Intel)"
if: ${{ matrix.os == 'macos-13' }}
uses: actions/upload-artifact@v4
with:
name: minichlink (MacOS 14 Intel)
name: minichlink (MacOS 13 Intel)
path: minichlink.tar.gz
- name: "Upload minichlink (MacOs 14 ARM64)"
if: ${{ matrix.os == 'macos-14' }}
Expand Down

0 comments on commit 1a655ec

Please sign in to comment.