Files
neovim/.github/workflows/test_bsd.yml
neil ecae8c994e ci: check FreeBSD, OpenBSD builds #41091
FreeBSD and OpenBSD are Tier 2 supported platforms (:help
supported-platforms) but have had no CI coverage since Cirrus CI was
dropped in #39321. Restore build coverage for both using vmactions,
which boots the VM on a regular ubuntu-latest runner.
2026-08-02 14:30:23 -04:00

65 lines
1.5 KiB
YAML

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