Skip to content

Commit

Permalink
Add support for electron prebuilds on linux arm
Browse files Browse the repository at this point in the history
  • Loading branch information
m4heshd committed Jan 15, 2025
1 parent 022a2cd commit 9bcfc3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/prebuild-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,5 @@ jobs:
docker run --rm -v $(pwd):/tmp/project --entrypoint /bin/sh --platform linux/${{ matrix.arch }} node:18-bullseye -c "\
cd /tmp/project && \
npm install --ignore-scripts && \
${{ env.TEST_COMMAND }}"
${{ env.TEST_COMMAND }}" && \
if [ '${{ matrix.arch }}' = 'arm64' ]; then ${{ env.TEST_COMMAND }} --arch arm64; fi"
3 changes: 2 additions & 1 deletion .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ jobs:
docker run --rm -v $(pwd):/tmp/project --entrypoint /bin/sh --platform linux/${{ matrix.arch }} node:18-bullseye -c "\
cd /tmp/project && \
npm install --ignore-scripts && \
${{ env.NODE_BUILD_CMD }}"
${{ env.NODE_BUILD_CMD }} && \
if [ '${{ matrix.arch }}' = 'arm64' ]; then ${{ env.ELECTRON_BUILD_CMD }} --arch arm64; fi"

0 comments on commit 9bcfc3b

Please sign in to comment.