Debian Codegraph @

.github/workflows/cross-platform-actions.yml

raw symbols SCIP
1 name: BSD, Haiku, OmniOS
2
3 on: [push, pull_request]
4
5 jobs:
6 build:
7 runs-on: ubuntu-latest
8 strategy:
9 matrix:
10 operating_system: [ freebsd, haiku, netbsd, omnios, openbsd ]
11 architecture: [ arm64, x86-64 ]
12 include:
13 - operating_system: freebsd
14 version: '15.0'
15 pkginstall: sudo pkg update && sudo pkg install -y cmake git ninja
16 - operating_system: haiku
17 version: 'r1beta5'
18 pkginstall: pkgman refresh && pkgman install -y cmake git ninja
19 - operating_system: netbsd
20 version: '10.1'
21 pkginstall: sudo pkgin update && sudo pkgin -y install clang cmake git ninja-build
22 - operating_system: omnios
23 version: 'r151056'
24 pkginstall: sudo pkg refresh && sudo pkg install build-essential cmake git ninja
25 - operating_system: openbsd
26 version: '7.8'
27 pkginstall: sudo pkg_add -u && sudo pkg_add cmake git ninja
28 exclude:
29 - operating_system: haiku
30 architecture: arm64
31 - operating_system: omnios
32 architecture: arm64
33
34 steps:
35 - uses: actions/checkout@v6
36
37 - uses: cross-platform-actions/[email protected]
38 with:
39 operating_system: ${{ matrix.operating_system }}
40 architecture: ${{ matrix.architecture }}
41 version: ${{ matrix.version }}
42 run: |
43 ${{ matrix.pkginstall }}
44 cmake -B build -DCMAKE_BUILD_TYPE=Release -G Ninja
45 cmake --build build --config Release