From 030801f5a743b27b487ad7a48e59dadef2df0b8b Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Wed, 3 Apr 2024 17:31:41 -0500 Subject: [PATCH] selectively add flag for macos-14 --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11e5b50d..b3bc8e5b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,7 @@ jobs: os: - ubuntu-20.04 - macos-latest + - macos-14 - windows-2019 node: - 18 @@ -37,7 +38,9 @@ jobs: node-version: ${{ matrix.node }} - if: ${{ startsWith(matrix.os, 'windows') }} run: pip.exe install setuptools - - if: ${{ ! startsWith(matrix.os, 'windows') }} + - if: ${{ ! startsWith(matrix.os, 'windows') && matrix.os != 'macos-14' }} + run: python3 -m pip install setuptools + - if: matrix.os == 'macos-14' run: python3 -m pip install --break-system-packages setuptools - run: npm install --ignore-scripts - run: npm run build-debug @@ -82,7 +85,9 @@ jobs: node-version: 16 - if: ${{ startsWith(matrix.os, 'windows') }} run: pip.exe install setuptools - - if: ${{ ! startsWith(matrix.os, 'windows') }} + - if: ${{ ! startsWith(matrix.os, 'windows') && matrix.os != 'macos-14' }} + run: python3 -m pip install setuptools + - if: matrix.os == 'macos-14' run: python3 -m pip install --break-system-packages setuptools - run: npm install --ignore-scripts - run: ${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}