mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
perform actual test
This commit is contained in:
parent
e36efda096
commit
08644c9879
1 changed files with 22 additions and 10 deletions
32
.github/workflows/windows-smoke.yml
vendored
32
.github/workflows/windows-smoke.yml
vendored
|
|
@ -7,12 +7,21 @@ on:
|
|||
- '.github/workflows/windows-smoke.yml'
|
||||
|
||||
jobs:
|
||||
smoke:
|
||||
name: Smoke test
|
||||
windows:
|
||||
name: Windows ${{ matrix.arch }}
|
||||
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:
|
||||
GETH_MINGW: 'C:\msys64\mingw64'
|
||||
GETH_CC: 'C:\msys64\mingw64\bin\gcc.exe'
|
||||
GETH_ARCH: ${{ matrix.arch }}
|
||||
GETH_MINGW: ${{ matrix.mingw }}
|
||||
GETH_CC: ${{ matrix.mingw }}\bin\gcc.exe
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -27,15 +36,18 @@ jobs:
|
|||
- name: Show tool versions
|
||||
shell: cmd
|
||||
run: |
|
||||
echo === git ===
|
||||
git --version
|
||||
echo === go ===
|
||||
echo === arch: %GETH_ARCH% ===
|
||||
go version
|
||||
echo === gcc ===
|
||||
"%GETH_CC%" --version
|
||||
|
||||
- name: Build (amd64)
|
||||
- name: Build
|
||||
shell: cmd
|
||||
run: |
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue