oaknut: CI: Build on OpenBSD

This commit is contained in:
Merry 2023-10-29 15:33:28 +00:00
parent 19cd42204e
commit f462c97747

View file

@ -123,8 +123,6 @@ jobs:
architecture: arm64
version: '13.2'
shell: bash
memory: 5G
cpu_count: 4
run: |
pwd
sudo pkg update
@ -133,3 +131,26 @@ jobs:
cd build
cmake --build . --config Release
./oaknut-tests -d yes
test_on_openbsd:
runs-on: ubuntu-latest
name: openbsd-arm64
steps:
- name: Checkout oaknut repo
uses: actions/checkout@v3
- name: Build and Test
uses: cross-platform-actions/action@v0.19.1
with:
operating_system: openbsd
architecture: arm64
version: '7.3'
shell: bash
run: |
pwd
sudo pkg_add catch2 cmake ninja
cmake -B ${{github.workspace}}/build -GNinja
cd build
cmake --build . --config Release
./oaknut-tests -d yes