From 4ee18e455d51d9bb6be495b0240b63e41f0213d3 Mon Sep 17 00:00:00 2001 From: Ioannis Konstantelias Date: Thu, 24 Oct 2024 17:05:44 +0100 Subject: [PATCH] ci: Test *BSD build Tests on OpenBSD, FreeBSD and NetBSD. Both x86-64 and arm64 are used. --- .github/workflows/build_bsd.yml | 52 +++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/workflows/build_bsd.yml diff --git a/.github/workflows/build_bsd.yml b/.github/workflows/build_bsd.yml new file mode 100644 index 00000000..6698806b --- /dev/null +++ b/.github/workflows/build_bsd.yml @@ -0,0 +1,52 @@ +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: + operating_system: ${{ matrix.os.name }} + architecture: ${{ matrix.os.architecture }} + version: ${{ matrix.os.version }} + shell: bash + memory: 5G + run: | + sudo pkg_add automake-1.16.5 autoconf-2.71 + autoreconf -vfi + ./configure + make