From 332c63e44023d88a6cf673f87c6769f81fdecde8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Balv=C3=ADn?= Date: Fri, 25 Sep 2026 21:46:49 +0200 Subject: [PATCH] ci: compile-gate FreeBSD in the test pipeline Assisted-by: GLM 5.3 Flash --- .gitea/workflows/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 36802cb..33968ba 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -56,6 +56,28 @@ jobs: - name: Build run: go build ./... + - name: FreeBSD build (amd64) + # The debugger's ptrace surface and the JIT substrate are the two + # FreeBSD-portable layers the tree carries; the forge has no FreeBSD + # runner, so a push can only compile-gate them. Running the ptrace + # suite needs real FreeBSD hardware. + env: + GOOS: freebsd + GOARCH: amd64 + run: go build ./... + + - name: FreeBSD build (arm64) + env: + GOOS: freebsd + GOARCH: arm64 + run: go build ./... + + - name: FreeBSD build (riscv64) + env: + GOOS: freebsd + GOARCH: riscv64 + run: go build ./... + - name: Format run: | perl -e '