mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
.gitea: add windows build (experimental)
This commit is contained in:
parent
97645caf80
commit
ef6e92e51d
1 changed files with 29 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue