Fix python setup for macOS arm builds

Co-authored-by: Joshua Wise <[email protected]>
This commit is contained in:
Mahesh Bandara Wijerathna
2024-04-05 16:12:58 +05:30
co-authored by Joshua Wise
parent 096794b4be
commit c672964739
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -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 }}
+3 -1
View File
@@ -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 }}
+4 -1
View File
@@ -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