.github/workflows: add freebsd test github action (#34078)

This is meant to be run daily, in order to verify the FreeBSD build
wasn't broken like last time.
This commit is contained in:
Guillaume Ballet 2026-04-14 14:47:43 +02:00 committed by GitHub
parent c453b99a57
commit c2234462a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

29
.github/workflows/freebsd.yml vendored Normal file
View file

@ -0,0 +1,29 @@
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