add windows ci (which literally nobody will use)

This commit is contained in:
2025-08-10 10:13:54 +01:00
parent 4390763985
commit e5f391edfd

29
.github/workflows/windows.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
# This workflow will build a golang project for Windows
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: build for windows
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.24'
- name: Build
run: go build -o pi-im.exe .
- name: Artifact
uses: actions/upload-artifact@v4
with:
name: pi-binary-windows
path: pi-im.exe