okay fyne
This commit is contained in:
@@ -32,25 +32,23 @@ jobs:
|
||||
|
||||
- name: build linux
|
||||
run: |
|
||||
VERSION=${{github.ref_name}}
|
||||
BUILD=${{github.run_number}}
|
||||
GOOS=windows
|
||||
GOARCH=amd64
|
||||
GOFLAGS="-ldflags=-s -ldflags=-w"
|
||||
CGO_ENABLED=1
|
||||
CC=gcc
|
||||
fyne package --appVersion=${VERSION#v} --appBuild=${BUILD} --exe bin/swiped-mod-switcher-$VERSION-linux-amd64 main.go
|
||||
fyne package --appBuild=${BUILD} --exe bin/swiped-mod-switcher-$VERSION-linux-amd64 main.go
|
||||
|
||||
- name: build windows
|
||||
run: |
|
||||
VERSION=${{github.ref_name}}
|
||||
BUILD=${{github.run_number}}
|
||||
GOOS=windows
|
||||
GOARCH=amd64
|
||||
GOFLAGS="-ldflags=-H=windowsgui -ldflags=-s -ldflags=-w"
|
||||
CGO_ENABLED=1
|
||||
CC=x86_64-w64-mingw32-gcc
|
||||
fyne package --appVersion=${VERSION#v} --appBuild=${BUILD} --exe bin/swiped-mod-switcher-$VERSION-windows-amd64.exe main.go
|
||||
fyne package --appBuild=${BUILD} --exe bin/swiped-mod-switcher-$VERSION-windows-amd64.exe main.go
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
||||
@@ -32,14 +32,12 @@ jobs:
|
||||
|
||||
- name: build
|
||||
run: |
|
||||
VERSION=${{github.ref_name}}
|
||||
BUILD=${{github.run_number}}
|
||||
GOOS=linux
|
||||
GOARCH=amd64
|
||||
GOFLAGS="-ldflags=-s -ldflags=-w"
|
||||
CGO_ENABLED=1
|
||||
CC=gcc
|
||||
fyne package --appVersion=${VERSION#v} --appBuild=${BUILD} --exe bin/swiped-mod-switcher-${VERSION}.${BUILD}-linux-amd64 main.go
|
||||
fyne package --exe bin/swiped-mod-switcher-${VERSION}.${BUILD}-linux-amd64 main.go
|
||||
- name: run tests
|
||||
run: go test -v ./...
|
||||
- name: Check Vet
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
Icon = "icon.png"
|
||||
Name = "Swiped Mod Switcher"
|
||||
ID = "com.s1d3sw1ped.swipedmodswitcher"
|
||||
Version = "untracked"
|
||||
Version = "0.0.0"
|
||||
Build = 1
|
||||
Reference in New Issue
Block a user