chore: reorder and init go project
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user