mirror of
https://github.com/neovim/neovim.git
synced 2026-11-02 09:49:02 -06:00
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.
This commit is contained in:
1 file changed
+64
@@ -0,0 +1,64 @@
|
||||
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
|
||||
Reference in new issue
Block a user