Skip to content

Commit

Permalink
.github/workflows/go.yml - Add testing on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkroh committed Mar 13, 2024
1 parent 5327ef7 commit 269617c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,28 @@ jobs:
- name: Test
if: runner.os == 'Windows'
run: .ci/scripts/test.bat

test-freebsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Test
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
pkg install -y curl
curl -sL -o /usr/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.2/gvm-freebsd-amd64
chmod +x /usr/bin/gvm
eval "$(gvm 1.22.1)"
go version
run: |
pwd
ls -lah
whoami
env
freebsd-version
.ci/scripts/test.sh

0 comments on commit 269617c

Please sign in to comment.