This commit is contained in:
Jan-Otto Kröpke 2023-06-15 10:42:09 +02:00
parent 68fc6c01c3
commit 9145fd1891
No known key found for this signature in database
1 changed files with 10 additions and 1 deletions

View File

@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-latest, windows-latest]
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
timeout-minutes: 360
env:
@ -56,6 +56,15 @@ jobs:
if [ "$RUNNER_OS" == "Windows" ]; then
npx nx run open-lens:build:app --win nsis msi portable
elif [ "$RUNNER_OS" == "Linux" ]; then
env npm_config_target_arch=arm64 npm_config_arch=arm64 npm rebuild --verbose node-pty@0.10.1
find . -name '*pty.node' -print0 | xargs -0 file
env npm_config_target_arch=arm64 npm_config_arch=arm64 npx --yes --package npm@^9.6.7 npm rebuild --verbose node-pty@0.10.1
find . -name '*pty.node' -print0 | xargs -0 file
env npm_config_target_arch=arm64 npm_config_arch=arm64 npx @electro/rebuild -f -a amd64
find . -name '*pty.node' -print0 | xargs -0 file
exit 0
npx nx run open-lens:build:app --x64
rm -rf node_modules
npm run all:install -- --arch=arm64