Skip to content

Test Linux and *BSD build on Github Actions #36

Test Linux and *BSD build on Github Actions

Test Linux and *BSD build on Github Actions #36

Workflow file for this run

name: "Build on *BSD"
on:
push: {}
pull_request: {}
jobs:
build-openbsd:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- name: openbsd
architecture: x86-64
version: '7.4'
package_tool: pkg_add
#- name: freebsd
# architecture: x86-64
# version: '14.0'
# package_tool: pkg install
#- name: netbsd
# architecture: x86-64
# version: '9.4'
steps:
- uses: actions/checkout@v4
- name: Build on ${{ matrix.os.name }}
uses: cross-platform-actions/action@v0.25.0
env:
AUTOCONF_VERSION: 2.71
AUTOMAKE_VERSION: 1.16
with:
operating_system: ${{ matrix.os.name }}
architecture: ${{ matrix.os.architecture }}
version: ${{ matrix.os.version }}
memory: 4G
sync_files: runner-to-vm
environment_variables: AUTOCONF_VERSION AUTOMAKE_VERSION
shell: bash
run: |
sudo pkg_add autoconf-2.71 automake-1.16.5 libtool
autoreconf -vfi
./configure
make
build-freebsd:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- name: freebsd
architecture: x86-64
version: '14.0'
package_tool: pkg install
steps:
- uses: actions/checkout@v4
- name: Build on ${{ matrix.os.name }}
uses: cross-platform-actions/action@v0.25.0
env:
AUTOCONF_VERSION: 2.71
AUTOMAKE_VERSION: 1.16
with:
operating_system: ${{ matrix.os.name }}
architecture: ${{ matrix.os.architecture }}
version: ${{ matrix.os.version }}
memory: 4G
sync_files: runner-to-vm
environment_variables: AUTOCONF_VERSION AUTOMAKE_VERSION
shell: bash
run: |
sudo pkg install -y autoconf automake libtool
autoreconf -vfi
./configure
make