.github: add windows runner smoke test

This commit is contained in:
Sina Mahmoodi 2026-04-16 17:57:45 +00:00
parent f63e9f3a80
commit 3044df0e62

38
.github/workflows/windows-smoke.yml vendored Normal file
View file

@ -0,0 +1,38 @@
name: Windows Runner Smoke Test
on:
workflow_dispatch:
jobs:
smoke:
name: Smoke test
runs-on: [self-hosted, windows, x64]
env:
GETH_MINGW: 'C:\msys64\mingw64'
GETH_CC: 'C:\msys64\mingw64\bin\gcc.exe'
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
cache: false
- name: Show tool versions
shell: cmd
run: |
echo === git ===
git --version
echo === go ===
go version
echo === gcc ===
"%GETH_CC%" --version
- name: Build (amd64)
shell: cmd
run: |
set PATH=%GETH_MINGW%\bin;%PATH%
go run build/ci.go install -arch amd64 -cc %GETH_CC%