Skip to content

[pre-commit.ci] pre-commit autoupdate #1039

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #1039

Workflow file for this run

name: "FreeBSD build and test"
on: [ push, pull_request ]
permissions:
contents: read
jobs:
###
#
# FreeBSD build job
#
freebsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: meson test
uses: vmactions/freebsd-vm@v1
with:
prepare: |
pkg install -y meson pkgconf evdev-proto libgudev libxml++ bash libevdev
pkg install -y -g py3\*-pip python3
pip install libevdev pytest pyudev
run: |
meson setup builddir
meson test -C builddir --print-errorlogs
# Capture all the meson logs, even if we failed
- uses: actions/upload-artifact@v4
if: ${{ always() }} # even if we fail
with:
name: meson test logs
path: |
builddir/meson-logs/testlog*.txt
builddir/meson-logs/meson-log.txt