Skip to content

Commit 030801f

Browse files
committed
selectively add flag for macos-14
1 parent 1220731 commit 030801f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
os:
2424
- ubuntu-20.04
2525
- macos-latest
26+
- macos-14
2627
- windows-2019
2728
node:
2829
- 18
@@ -37,7 +38,9 @@ jobs:
3738
node-version: ${{ matrix.node }}
3839
- if: ${{ startsWith(matrix.os, 'windows') }}
3940
run: pip.exe install setuptools
40-
- if: ${{ ! startsWith(matrix.os, 'windows') }}
41+
- if: ${{ ! startsWith(matrix.os, 'windows') && matrix.os != 'macos-14' }}
42+
run: python3 -m pip install setuptools
43+
- if: matrix.os == 'macos-14'
4144
run: python3 -m pip install --break-system-packages setuptools
4245
- run: npm install --ignore-scripts
4346
- run: npm run build-debug
@@ -82,7 +85,9 @@ jobs:
8285
node-version: 16
8386
- if: ${{ startsWith(matrix.os, 'windows') }}
8487
run: pip.exe install setuptools
85-
- if: ${{ ! startsWith(matrix.os, 'windows') }}
88+
- if: ${{ ! startsWith(matrix.os, 'windows') && matrix.os != 'macos-14' }}
89+
run: python3 -m pip install setuptools
90+
- if: matrix.os == 'macos-14'
8691
run: python3 -m pip install --break-system-packages setuptools
8792
- run: npm install --ignore-scripts
8893
- run: ${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)