chore: reorder and init go project
All checks were successful
Cross-Compile Binaries / compile-linux (push) Successful in 3m52s
Cross-Compile Binaries / compile-windows (push) Successful in 7m20s

This commit is contained in:
2026-01-07 15:23:31 +01:00
parent 301b2cf38f
commit 21611b8078
9 changed files with 11 additions and 13 deletions

View File

@@ -30,7 +30,7 @@ jobs:
echo -e "-----\napt-get update failed, retrying in 1s...\n-----"
sleep 1s
done
apt-get install -y \
build-essential libgl1-mesa-dev libx11-dev libxrandr-dev \
libxi-dev libxcursor-dev libxinerama-dev libglfw3-dev \
@@ -43,7 +43,7 @@ jobs:
export CXX=g++
export GOOS=linux
export GOARCH=amd64
go build -o ./pkcs-generator .
go build -o ./pkcs-generator ./src
- name: upload the building actifacts
uses: DaanSelen/upload-artifact-gitea@main
@@ -96,7 +96,7 @@ jobs:
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 .
go build -o ./pkcs-generator.exe -ldflags -H=windowsgui ./src
- name: upload the building actifacts
uses: DaanSelen/upload-artifact-gitea@main