Add 2 more workflows (hopefully they work)

This commit is contained in:
2025-08-12 11:06:53 +01:00
parent efa801b393
commit bd34df424b
3 changed files with 61 additions and 1 deletions

31
.github/workflows/freebsd.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
# This workflow will build a golang project for FreeBSD
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: build for freebsd
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: vmactions/freebsd-vm@v1
with:
usesh: true
release: '14.0'
prepare: |
pkg install -y go
pkg install -y xorg
run: |
go version
go build .
ls
- name: Artifact
uses: actions/upload-artifact@v4
with:
name: pi-binary-freebsd
path: pi-im