Skip to content

Commit

Permalink
Added FreeBSD build test
Browse files Browse the repository at this point in the history
  • Loading branch information
vikulin committed Dec 21, 2023
1 parent 9e34a03 commit 86a1b81
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,34 @@ jobs:
- name: Unit tests
run: go test -v ./...

build-freebsd:
strategy:
fail-fast: false
matrix:
goversion: ["1.21"]
goos:
- freebsd
- openbsd
name: Build (Cross ${{ matrix.goos }}, Go ${{ matrix.goversion }})
needs: [lint]

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.goversion }}

- name: Build RiV-mesh
run: go build -v ./...
env:
GOOS: ${{ matrix.goos }}

tests-ok:
name: All tests passed
needs: [lint, codeql, build-linux, build-windows, build-macos]
needs: [lint, codeql, build-linux, build-windows, build-macos, build-freebsd]
runs-on: ubuntu-latest
if: ${{ !cancelled() }}
steps:
Expand Down

0 comments on commit 86a1b81

Please sign in to comment.