Skip to content

Commit

Permalink
ci: Test *BSD build
Browse files Browse the repository at this point in the history
Tests on OpenBSD, FreeBSD and NetBSD. Both x86-64 and arm64 are used.
  • Loading branch information
Ioannis Konstantelias committed Oct 24, 2024
1 parent ab3bb07 commit 22466e3
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/build_bsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: "Build on *BSD"

on:
push: {}
pull_request: {}

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- name: openbsd
architecture: x86-64
version: '7.5'

#- name: openbsd
# architecture: arm64
# version: '7.6'

- name: freebsd
architecture: x86-64
version: '14.0'

#- name: freebsd
# architecture: arm64
# version: '14.1'

- name: netbsd
architecture: x86-64
version: '9.4'

#- name: netbsd
# architecture: arm64
# version: '10.0'

steps:
- uses: actions/checkout@v4

- name: Build on ${{ matrix.os.name }} / ${{ matrix.os.architecture }}
uses: cross-platform-actions/action@v0.25.0
with:
environment_variables: MY_ENV1 MY_ENV2
operating_system: ${{ matrix.os.name }}
architecture: ${{ matrix.os.architecture }}
version: ${{ matrix.os.version }}
shell: bash
memory: 5G
cpu_count: 4
run: |
autoreconf -vfi
./configure
make

0 comments on commit 22466e3

Please sign in to comment.