From 7f14f2ea235de3f37c46d7b21b1cc6559af5c14c Mon Sep 17 00:00:00 2001 From: "Ketchetwahmeegwun T. Southall" Date: Sun, 20 Oct 2024 16:25:41 -0700 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..065814a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,31 @@ +name: Wails build + +on: + push: + tags: + # Match any new tag + - '*' + +env: + # Necessary for most environments as build failure can occur due to OOM issues + NODE_OPTIONS: "--max-old-space-size=4096" + +jobs: + build: + strategy: + fail-fast: false + matrix: + build: [ + {name: Staxie, platform: linux/amd64, os: ubuntu-latest}, + {name: Staxie, platform: windows/amd64, os: windows-latest}, + {name: Staxie, platform: darwin/universal, os: macos-latest} + ] + runs-on: ${{ matrix.build.os }} + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + - uses: dAppServer/wails-build-action@v2.2 + with: + build-name: ${{ matrix.build.name }} + build-platform: ${{ matrix.build.platform }}