mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
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>
29 lines
531 B
YAML
29 lines
531 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- freebsd-github-action
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
name: FreeBSD-build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: false
|
|
|
|
- name: Test in FreeBSD
|
|
id: test
|
|
uses: vmactions/freebsd-vm@v1
|
|
with:
|
|
release: "15.0"
|
|
usesh: true
|
|
prepare: |
|
|
pkg install -y go
|
|
run: |
|
|
freebsd-version
|
|
uname -a
|
|
go version
|
|
go run ./build/ci.go test -p 8
|