Skip to content

Commit

Permalink
CI: use matrix for building under range of *BSD releases
Browse files Browse the repository at this point in the history
Adds runs for the most recent supported major versions available via
cross-platform-actions.
  • Loading branch information
0x09 committed May 27, 2024
1 parent 4805902 commit 9782756
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,17 @@ jobs:
CC: gcc
build-freebsd:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['13.3', '14.0']
steps:
- uses: actions/checkout@v2
- name: Build in default configuration
uses: cross-platform-actions/[email protected]
with:
operating_system: freebsd
architecture: x86-64
version: '13.2'
version: ${{ matrix.version }}
run: |
sudo pkg update
sudo pkg install -y gmake fusefs-libs
Expand All @@ -59,34 +62,40 @@ jobs:
with:
operating_system: freebsd
architecture: x86-64
version: '13.2'
version: ${{ matrix.version }}
run: |
sudo pkg install -y gmake fusefs-libs libublio utf8proc
gmake clean
gmake WITH_UBLIO=system WITH_UTF8PROC=system config all
build-openbsd:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['7.4']
steps:
- uses: actions/checkout@v2
- name: Build
uses: cross-platform-actions/[email protected]
with:
operating_system: openbsd
architecture: x86-64
version: '7.3'
version: ${{ matrix.version }}
run: |
sudo pkg_add gmake
gmake
build-netbsd:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['9.3', '10.0']
steps:
- uses: actions/checkout@v2
- name: Build
uses: cross-platform-actions/[email protected]
with:
operating_system: netbsd
architecture: x86-64
version: '9.3'
version: ${{ matrix.version }}
run: |
sudo pkgin update
sudo pkgin -y install gmake fuse
Expand Down

0 comments on commit 9782756

Please sign in to comment.