Merge pull request 'get fyne for builds' (#12) from develop into master
Some checks failed
build and test / artifact builds on linux and windows (push) Failing after 1m56s

Reviewed-on: #12
This commit is contained in:
s1d3sw1ped
2024-03-10 18:40:02 +00:00
3 changed files with 18 additions and 2 deletions

View File

@@ -23,7 +23,12 @@ jobs:
apt-get update
apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: build-linux
- name: get fyne
run: |
go get fyne.io/fyne/v2@latest
go install fyne.io/fyne/v2/cmd/fyne@latest
- name: build linux
run: |
VERSION=${{github.ref_name}}
BUILD=${{github.run_number}}
@@ -34,7 +39,7 @@ jobs:
CC=gcc
fyne package --appVersion=${VERSION} --appBuild=${BUILD} --exe bin/swiped-mod-switcher-$VERSION-linux-amd64 main.go
- name: build-windows
- name: build windows
run: |
VERSION=${{github.ref_name}}
BUILD=${{github.run_number}}

View File

@@ -22,6 +22,12 @@ jobs:
run: |
apt-get update
apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: get fyne
run: |
go get fyne.io/fyne/v2@latest
go install fyne.io/fyne/v2/cmd/fyne@latest
- name: build
run: |
VERSION=${{github.ref_name}}

View File

@@ -19,6 +19,11 @@ jobs:
apt-get update
apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: get fyne
run: |
go get fyne.io/fyne/v2@latest
go install fyne.io/fyne/v2/cmd/fyne@latest
- name: build-linux
run: |
VERSION=${{github.ref_name}}