Skip to content

Commit

Permalink
Fix macOS x64 builds
Browse files Browse the repository at this point in the history
Fixes #96
  • Loading branch information
m4heshd committed Jun 27, 2024
1 parent 7c3199f commit c428999
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/prebuild-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ on:
description: 'Test on windows-2019'
type: boolean
default: true
macos-latest:
description: 'Test on macos-latest'
macos-13:
description: 'Test on macos-13'
type: boolean
default: true
alpine:
Expand All @@ -39,7 +39,7 @@ env:

jobs:
input-setup:
if: inputs['ubuntu-20.04'] == true || inputs['windows-2019'] == true || inputs['macos-latest'] == true
if: inputs['ubuntu-20.04'] == true || inputs['windows-2019'] == true || inputs['macos-13'] == true
name: Preparing tests
runs-on: ubuntu-latest
outputs:
Expand All @@ -51,7 +51,7 @@ jobs:
INPUTS='${{ toJSON(inputs) }}'
PLATFORMS='{"os":[]}'
for os in 'ubuntu-20.04' 'windows-2019' 'macos-latest'
for os in 'ubuntu-20.04' 'windows-2019' 'macos-13'
do
if [ "$(jq ".[\"$os\"]" <<< "$INPUTS")" = "true" ]; then PLATFORMS=$(jq -c ".os += [\"$os\"]" <<< "$PLATFORMS"); fi
done
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
run: ${{ env.TEST_COMMAND }} --arch arm64

prebuild-test-mac-arm64:
if: inputs.macos-latest == true && inputs.arm == true
if: inputs.macos-13 == true && inputs.arm == true
name: Testing prebuild M1 macOS (arm64)
runs-on: macos-14
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
os:
- ubuntu-20.04
- macos-latest
- macos-13
- macos-14
- windows-2019
name: Prebuild on ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
os:
- ubuntu-20.04
- macos-latest
- macos-13
- macos-14
- windows-2019
node:
Expand Down

0 comments on commit c428999

Please sign in to comment.