.gitea: add windows build (experimental)
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run

This commit is contained in:
Felix Lange 2025-07-03 15:07:22 +02:00
parent 97645caf80
commit ef6e92e51d

View file

@ -121,6 +121,35 @@ jobs:
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}
windows:
name: Windows Build
runs-on: "win-11"
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.24
cache: false
# Note: gcc.exe only works properly if the corresponding bin/ directory is
# contained in PATH.
- name: "Build (amd64)"
run: |
go run build/ci.go install -dlgo -arch amd64 -cc %GETH_CC%
env:
PATH: 'C:\msys64\mingw64\bin;C:\Program Files (x86)\NSIS\;%PATH%'
GETH_CC: 'C:\msys64\mingw64\bin\gcc.exe'
- name: "Build (386)"
run: |
go run build/ci.go install -dlgo -arch 386 -cc %GETH_CC%
env:
PATH: 'C:\msys64\mingw32\bin;C:\Program Files (x86)\NSIS\;%PATH%'
GETH_CC: 'C:\msys64\mingw32\bin\gcc.exe'
docker:
name: Docker Image
runs-on: ubuntu-latest