Merge branch 'develop'
Some checks are pending
ci/woodpecker/push/build Pipeline is pending approval

This commit is contained in:
Simon Vieille 2024-08-05 23:32:25 +02:00
commit 7eac3892f6
3 changed files with 10 additions and 7 deletions

View file

@ -19,10 +19,10 @@ steps:
commands:
- make CUSTOM_EXTRA_NAME=-deb12
# "Run build (debian 11)":
# image: deblan/golang-gtk:1.22-bullseye
# commands:
# - make CUSTOM_EXTRA_NAME=-deb11
"Run build (debian 11)":
image: deblan/golang-gtk:1.22-bullseye
commands:
- make CUSTOM_EXTRA_NAME=-deb11 TAGS=glib_2_66
"Publish":
image: plugins/gitea-release

View file

@ -1,8 +1,9 @@
CGO_ENABLED = 1
DIR = ./build
TAGS = glib_2_32
GO_ARCH_AMD = amd64
GO_OS_LINUX = linux
GO_ARCH_AMD = amd64
GO_OS_LINUX = linux
CUSTOM_EXTRA_NAME ?=
EXECUTABLE = wireguard-gui
@ -24,7 +25,9 @@ $(BIN_LINUX_AMD64):
CGO_ENABLED=$(CGO_ENABLED) \
GOARCH=$(GO_ARCH_AMD) \
GOOS=$(GO_OS_LINUX) \
$(CC) -ldflags="$(LDFLAGS)" \
$(CC) \
-ldflags="$(LDFLAGS)" \
-tags="$(TAGS)" \
-o $(BIN_LINUX_AMD64) .
.PHONY: clean

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 108 KiB

Before After
Before After