mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
.github/workflows: fix FreeBSD CI to use ubuntu-latest runner (#34071)
vmactions/freebsd-vm uses QEMU to run FreeBSD in a VM, which requires a standard GitHub-hosted runner with KVM support. The self-hosted-ghr runner was failing with SSH exit code 255 because the VM couldn't boot. Changes: - Use ubuntu-latest instead of self-hosted-ghr - Move pkg install to prepare: (runs before code sync) - Add usesh: true for consistent shell behavior - Print go version for debugging Co-authored-by: tellabg <249254436+tellabg@users.noreply.github.com>
This commit is contained in:
parent
d7716f8bf4
commit
ab93d63512
1 changed files with 5 additions and 2 deletions
7
.github/workflows/freebsd.yml
vendored
7
.github/workflows/freebsd.yml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: FreeBSD-build
|
name: FreeBSD-build
|
||||||
runs-on: [self-hosted-ghr, size-l-x64]
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
|
|
@ -19,8 +19,11 @@ jobs:
|
||||||
uses: vmactions/freebsd-vm@v1
|
uses: vmactions/freebsd-vm@v1
|
||||||
with:
|
with:
|
||||||
release: "15.0"
|
release: "15.0"
|
||||||
|
usesh: true
|
||||||
|
prepare: |
|
||||||
|
pkg install -y go
|
||||||
run: |
|
run: |
|
||||||
freebsd-version
|
freebsd-version
|
||||||
uname -a
|
uname -a
|
||||||
pkg install -y go
|
go version
|
||||||
go run ./build/ci.go test -p 8
|
go run ./build/ci.go test -p 8
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue