| 1 | name: FreeBSD |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [main] |
| 6 | pull_request: |
| 7 | branches: [main] |
| 8 | merge_group: |
| 9 | types: [checks_requested] |
| 10 | branches: [main] |
| 11 | |
| 12 | permissions: |
| 13 | contents: read |
| 14 | |
| 15 | jobs: |
| 16 | testfreebsd: |
| 17 | runs-on: ubuntu-latest |
| 18 | name: CI FreeBSD |
| 19 | steps: |
| 20 | - uses: actions/checkout@v7 |
| 21 | - name: Build and test in FreeBSD |
| 22 | id: test |
| 23 | uses: vmactions/freebsd-vm@v1 |
| 24 | timeout-minutes: 45 |
| 25 | with: |
| 26 | prepare: pkg install -y ninja cmake |
| 27 | run: | |
| 28 | freebsd-version |
| 29 | .github/s2n_bsd.sh |
| 30 | - name: Upload test results |
| 31 | if: ${{ failure() }} |
| 32 | uses: actions/upload-artifact@master |
| 33 | with: |
| 34 | name: all_test_output |
| 35 | path: | |
| 36 | output |