3 on: [push, pull_request]
10 operating_system: [ freebsd, netbsd, openbsd ]
11 architecture: [ arm64, x86-64 ]
13 - operating_system: freebsd
15 pkginstall: sudo pkg install -y cmake git ninja pkgconf
16 - operating_system: netbsd
18 pkginstall: sudo pkgin update && sudo pkgin -y install cmake gcc12 git ninja-build pkgconf && export PATH=/usr/pkg/gcc12/bin:$PATH
19 - operating_system: openbsd
21 pkginstall: sudo pkg_add cmake git ninja pkgconf
24 - uses: actions/checkout@v4
26 - uses: cross-platform-actions/action@v0.24.0
28 operating_system: ${{ matrix.operating_system }}
29 architecture: ${{ matrix.architecture }}
30 version: ${{ matrix.version }}
32 ${{ matrix.pkginstall }}
33 cmake -B build -DCMAKE_BUILD_TYPE=Release -G Ninja
34 cmake --build build --config Release