rum-goggles/.github/workflows/main.yml

45 lines
1.1 KiB
YAML
Raw Normal View History

2024-02-06 19:59:18 +00:00
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:
# Failure in one platform build won't impact the others
fail-fast: false
matrix:
build:
2024-02-06 20:56:10 +00:00
- name: 'rum-goggles'
2024-02-06 19:59:18 +00:00
platform: 'linux/amd64'
os: 'ubuntu-latest'
2024-02-06 20:56:10 +00:00
- name: 'rum-goggles'
2024-02-06 19:59:18 +00:00
platform: 'windows/amd64'
os: 'windows-latest'
2024-02-06 20:56:10 +00:00
- name: 'rum-goggles'
platform: 'darwin/universal'
os: 'macos-latest'
2024-02-06 19:59:18 +00:00
runs-on: ${{ matrix.build.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build wails
2024-02-06 20:32:17 +00:00
uses: tylertravisty/wails-build-action@v0.1.0
2024-02-06 19:59:18 +00:00
id: build
with:
build-name: ${{ matrix.build.name }}
build-platform: ${{ matrix.build.platform }}
2024-02-06 20:56:10 +00:00
package: false
2024-02-06 19:59:18 +00:00
go-version: '1.20'