Skip to content

Commit 817dbb8

Browse files
committed
Test different FreeBSD versions
1 parent 601012d commit 817dbb8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/freebsd.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,24 @@ permissions:
2626
jobs:
2727
freebsd-build-and-test:
2828
runs-on: ubuntu-latest
29-
name: FreeBSD 14.2 Build and Test
29+
name: FreeBSD ${{ matrix.freebsd-version }} Build and Test
3030

3131
# Don't run the action if the commit message says to skip CI
3232
if: "!contains(github.event.head_commit.message, 'skip-ci')"
3333

34+
strategy:
35+
fail-fast: false
36+
matrix:
37+
freebsd-version: ['13.5', '14.3', '15.0']
38+
3439
steps:
3540
- name: Checkout repository
3641
uses: actions/checkout@v5
3742

3843
- name: Build and test on FreeBSD
3944
uses: vmactions/freebsd-vm@v1
4045
with:
41-
release: '14.2'
46+
release: ${{ matrix.freebsd-version }}
4247
usesh: true
4348
prepare: |
4449
pkg install -y cmake ninja pkgconf bash curl

0 commit comments

Comments
 (0)