diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index f4a539b0b0..bce418faf9 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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