devops: wails-build-action for the 3 OS #11
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
# This workflow will build a golang project | |
name: sparkplugui | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# - name: Set up Go | |
# uses: actions/setup-go@v4 | |
# with: | |
# go-version: '1.21' | |
# | |
# - name: Setup Node.js | |
# uses: actions/[email protected] | |
# with: | |
# node-version: 'v18.19.0' | |
- uses: dAppServer/[email protected] | |
with: | |
build-name: SparkpluGUI | |
build-platform: windows/amd64 | |
- uses: dAppServer/[email protected] | |
with: | |
build-name: SparkpluGUI | |
build-platform: darwin/amd64 | |
- uses: dAppServer/[email protected] | |
with: | |
build-name: SparkpluGUI | |
build-platform: linux/amd64 | |
# - run: go install github.com/wailsapp/wails/v2/cmd/wails@latest | |
# - run: export PATH=${PATH}:${HOME}/go/bin | |
# - run: sudo apt-get update && sudo apt-get install libgtk-3-0 libwebkit2gtk-4.0-dev gcc-aarch64-linux-gnu | |
# - run: wails build -clean -platform windows/amd64,darwin/amd64,linux/amd64 # -dryrun, -obfuscated |