mirror of
https://github.com/hanzoai/better-sqlite3-multiple-ciphers.git
synced 2026-09-24 16:57:19 +00:00
Fix python setup for macOS arm builds
Co-authored-by: Joshua Wise <[email protected]>
This commit is contained in:
co-authored by
Joshua Wise
parent
096794b4be
commit
c672964739
@@ -87,7 +87,7 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 16
|
||||
- run: python3 -m pip install setuptools
|
||||
- run: python3 -m pip install --break-system-packages setuptools
|
||||
- run: npm install --ignore-scripts
|
||||
- run: ${{ env.TEST_COMMAND }}
|
||||
|
||||
|
||||
@@ -28,8 +28,10 @@ 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 }}
|
||||
- run: ${{ env.ELECTRON_BUILD_CMD }}
|
||||
|
||||
@@ -18,6 +18,7 @@ jobs:
|
||||
os:
|
||||
- ubuntu-20.04
|
||||
- macos-latest
|
||||
- macos-14
|
||||
- windows-2019
|
||||
node:
|
||||
- 18
|
||||
@@ -31,8 +32,10 @@ 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
|
||||
- run: npm test
|
||||
|
||||
Reference in New Issue
Block a user