diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d19f91c1c5d..5a46ee6f8ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,18 @@ jobs: run: yarn env: npm_config_arch: ${{ matrix.arch }} + - name: Rebuild some native packages for arm64 + if: ${{ matrix.os == 'ubuntu-20.04' && matrix.arch == 'arm64' }} + env: + npm_config_arch: ${{ matrix.arch }} + run: | + sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu + cd app/node_modules/desktop-trampoline + CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ npx node-gyp rebuild + cd ../../../ + cd app/node_modules/desktop-notifications + CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ npx node-gyp rebuild + cd ../../../ - name: Validate Electron version run: yarn run validate-electron-version - name: Lint