linux-build #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: linux-build | |
on: workflow_dispatch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '21' | |
- run: sudo apt-get install libsoup2.4-dev | |
- run: sudo apt-get install libgtk-3-dev | |
- run: | | |
bash`sudo apt-get update | |
sudo apt-get install libjavascriptcoregtk-4.0-dev` | |
- name: build app | |
run: | | |
cd gui | |
yarn install | |
NODE_OPTIONS="--max-old-space-size=4096" yarn tauri build | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: release | |
path: ./gui/src-tauri/target/release/bundle/dmg/ZTMesh_0.1.0_aarch64.dmg |