build-freebsd.yml (478B)
1 name: Build on FreeBSD 2 on: 3 push: 4 branches: [ "**" ] 5 pull_request: 6 branches: [ "**" ] 7 jobs: 8 build: 9 runs-on: ubuntu-latest 10 steps: 11 - uses: actions/checkout@v4 12 - name: build 13 id: test 14 uses: vmactions/freebsd-vm@v1 15 with: 16 usesh: true 17 prepare: | 18 pkg install -y cmake 19 run: | 20 cmake -B build -S ${{github.workspace}} -DENABLE_TESTS=1 21 cmake --build build 22 ctest --test-dir build