perform actual test

This commit is contained in:
Sina Mahmoodi 2026-04-16 18:29:21 +00:00
parent e36efda096
commit 08644c9879

View file

@ -7,12 +7,21 @@ on:
- '.github/workflows/windows-smoke.yml' - '.github/workflows/windows-smoke.yml'
jobs: jobs:
smoke: windows:
name: Smoke test name: Windows ${{ matrix.arch }}
runs-on: [self-hosted, windows, x64] runs-on: [self-hosted, windows, x64]
strategy:
fail-fast: false
matrix:
include:
- arch: amd64
mingw: 'C:\msys64\mingw64'
- arch: '386'
mingw: 'C:\msys64\mingw32'
env: env:
GETH_MINGW: 'C:\msys64\mingw64' GETH_ARCH: ${{ matrix.arch }}
GETH_CC: 'C:\msys64\mingw64\bin\gcc.exe' GETH_MINGW: ${{ matrix.mingw }}
GETH_CC: ${{ matrix.mingw }}\bin\gcc.exe
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -27,15 +36,18 @@ jobs:
- name: Show tool versions - name: Show tool versions
shell: cmd shell: cmd
run: | run: |
echo === git === echo === arch: %GETH_ARCH% ===
git --version
echo === go ===
go version go version
echo === gcc ===
"%GETH_CC%" --version "%GETH_CC%" --version
- name: Build (amd64) - name: Build
shell: cmd shell: cmd
run: | run: |
set PATH=%GETH_MINGW%\bin;%PATH% set PATH=%GETH_MINGW%\bin;%PATH%
go run build/ci.go install -arch amd64 -cc %GETH_CC% go run build/ci.go install -arch %GETH_ARCH% -cc %GETH_CC%
- name: Test
shell: cmd
run: |
set PATH=%GETH_MINGW%\bin;%PATH%
go run build/ci.go test -arch %GETH_ARCH% -cc %GETH_CC% -short