Skip to content

Commit

Permalink
testing macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Mar 7, 2025
1 parent dadf069 commit 48f28dc
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ runs:
shell: bash
run: |
node -v && npm -v && dotnet --version && node -p process.platform && node -p process.arch
- if: runner.os == 'macOS' && inputs.node == 16
- if: runner.os == 'macOS' && inputs.node <= 16
shell: bash
name: Add missing packages for macOS NodeJs 16
run: |
Expand Down
39 changes: 24 additions & 15 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ env:

jobs:
build-16:
runs-on: windows-2022
timeout-minutes: 20
strategy:
fail-fast: false
fail-fast: false
matrix:
os: [windows-2022]
runs-on: ${{ matrix.os }}
name: build node-16
steps:

Expand All @@ -25,13 +27,15 @@ jobs:
uses: ./.github/actions/build-node
with:
node: 16
os: ${{ runner.os }}
os: ${{ matrix.os }}

build-18:
runs-on: windows-2022
timeout-minutes: 20
strategy:
fail-fast: false
fail-fast: false
matrix:
os: [windows-2022]
runs-on: ${{ matrix.os }}
name: build node-18
steps:

Expand All @@ -42,13 +46,15 @@ jobs:
uses: ./.github/actions/build-node
with:
node: 18
os: ${{ runner.os }}
os: ${{ matrix.os }}

build-20:
runs-on: windows-2022
timeout-minutes: 20
strategy:
fail-fast: false
fail-fast: false
matrix:
os: [windows-2022]
runs-on: ${{ matrix.os }}
name: build node-20
steps:

Expand All @@ -59,13 +65,15 @@ jobs:
uses: ./.github/actions/build-node
with:
node: 20
os: ${{ runner.os }}
os: ${{ matrix.os }}

build-22:
runs-on: windows-2022
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
os: [windows-2022]
runs-on: ${{ matrix.os }}
name: build node-22
steps:

Expand All @@ -76,13 +84,14 @@ jobs:
uses: ./.github/actions/build-node
with:
node: 22
os: ${{ runner.os }}
os: ${{ matrix.os }}

build-23:
runs-on: windows-2022
timeout-minutes: 20
strategy:
fail-fast: false
fail-fast: false
matrix:
os: [windows-2022]
runs-on: ${{ matrix.os }}
name: build node-23
steps:

Expand All @@ -93,7 +102,7 @@ jobs:
uses: ./.github/actions/build-node
with:
node: 23
os: ${{ runner.os }}
os: ${{ matrix.os }}

test-16:
strategy:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
default: '20'
type: choice
options:
- 14
- 16
- 18
- 20
Expand All @@ -28,7 +29,7 @@ jobs:
strategy:
matrix:
# os: [windows-2022, macos-14]
os: [windows-2022, macos-15]
os: [macos-15]
fail-fast: true

name: build node-${{ inputs.build-version }} ${{ matrix.os }}
Expand All @@ -49,7 +50,7 @@ jobs:
strategy:
matrix:
# os: [windows-2022]
os: [windows-2022, macos-13, macos-15]
os: [macos-13, macos-15]
fail-fast: false

name: test ${{ matrix.os }}-node-${{ inputs.build-version }}
Expand Down

0 comments on commit 48f28dc

Please sign in to comment.