chore: try building differently (slightly)
This commit is contained in:
@@ -71,6 +71,12 @@ jobs:
|
||||
libxi-dev libxcursor-dev libxinerama-dev libglfw3-dev \
|
||||
libxxf86vm-dev gcc-mingw-w64 gcc-multilib
|
||||
|
||||
- name: Install go binary
|
||||
run: |
|
||||
go install github.com/tc-hib/go-winres@latest
|
||||
env:
|
||||
GOBIN: /usr/local/bin
|
||||
|
||||
- name: Compile the fyne application for Windows
|
||||
run: |
|
||||
export CGO_ENABLED=1
|
||||
@@ -79,6 +85,7 @@ jobs:
|
||||
export CC=x86_64-w64-mingw32-gcc
|
||||
export CXX=x86_64-w64-mingw32-g++
|
||||
export CGO_LDFLAGS="-static-libgcc -static-libstdc++"
|
||||
go-winres simply --icon icon.png --manifest gui
|
||||
go build -o ./pkcs-generator.exe -ldflags -H=windowsgui .
|
||||
|
||||
- name: upload the building actifacts
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@
|
||||
!*.*
|
||||
!*/
|
||||
*.exe
|
||||
*.syso
|
||||
|
||||
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Reference in New Issue
Block a user