You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I have it implemented via docker based on docker/setup-qemu-action and setup-buildx-action, but the compilation speed is too slow (it took a total of 1 hour and 35 minutes)
release.yml:
release-for-linux-arm64:
strategy:
fail-fast: falsematrix:
include:
- os: ubuntu-latesttarget: aarch64-unknown-linux-gnuruns-on: ${{ matrix.os }}steps:
- name: Checkout Repositoryuses: actions/checkout@v4
- name: Set up QEMUuses: docker/setup-qemu-action@v2with:
platforms: arm64
- name: Set up Docker Buildxuses: docker/setup-buildx-action@v2
- name: Build for Linuxuses: ./.github/build-for-linux-arm64env:
NODE_OPTIONS: '--max_old_space_size=4096'TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}with:
target: ${{ matrix.target }}
- name: Get Versionrun: | sudo apt-get update sudo apt-get install jq echo "VERSION=$(cat package.json | jq '.version' | tr -d '"')" >> $GITHUB_ENV
- name: Upload Releaseuses: softprops/action-gh-release@v2with:
tag_name: v${{env.VERSION}}name: 'NVM Desktop v${{env.VERSION}}'body: 'More new features are now supported.'token: ${{ secrets.GITHUB_TOKEN }}files: | src-tauri/target/${{ matrix.target }}/release/bundle/deb/*.deb src-tauri/target/${{ matrix.target }}/release/bundle/rpm/*.rpm
action.yml file in the ./.github/build-for-linux-arm64 directory:
This question is actually not really related to this action. tauri-action doesn't do anything fancy, it just executes tauri build on the currently used github runner.
For reference, this is the main upstream issue for cross compiling appimages linuxdeploy/linuxdeploy#258 (though iirc other appimage tooling has the same problem, not sure anymore)
Currently I have it implemented via docker based on
docker/setup-qemu-action
andsetup-buildx-action
, but the compilation speed is too slow (it took a total of 1 hour and 35 minutes)release.yml:
action.yml
file in the./.github/build-for-linux-arm64
directory:Dockerfile
:entrypoint.sh
:build.sh
:The complete code can be viewed at: https://github.com/1111mp/nvm-desktop-test
Is there any better way?
Thanks in advance 🙏
The text was updated successfully, but these errors were encountered: