name: test-bsd on: push: branches: - 'master' - 'release-[0-9]+.[0-9]+' pull_request: branches: - 'master' - 'release-[0-9]+.[0-9]+' workflow_dispatch: permissions: contents: read concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: freebsd: name: FreeBSD runs-on: ubuntu-latest timeout-minutes: 90 steps: - uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Build uses: vmactions/freebsd-vm@77ed28d336d03fe19a3f4f7266c1d2c4714dd79d # v1.5.2 with: usesh: true cache-after-prepare: true prepare: | pkg install -y cmake gmake ninja unzip wget gettext python git run: | set -e gmake deps gmake CMAKE_EXTRA_FLAGS="-DCI_BUILD=ON" nvim ./build/bin/nvim --version openbsd: name: OpenBSD runs-on: ubuntu-latest timeout-minutes: 90 steps: - uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Build uses: vmactions/openbsd-vm@c941015845c0f0c429676840963dc63b226d4f69 # v1.4.5 with: usesh: true cache-after-prepare: true prepare: | pkg_add -I cmake gmake ninja gettext-tools gettext-runtime git run: | set -e gmake deps gmake CMAKE_EXTRA_FLAGS="-DCI_BUILD=ON" nvim ./build/bin/nvim --version