Skip to content

github: add a template for autogenerated files #290

github: add a template for autogenerated files

github: add a template for autogenerated files #290

Workflow file for this run

name: pages
on:
push:
branches:
- master
permissions:
contents: read
env:
UBUNTU_PACKAGES: libgudev-1.0-dev libxml++2.6-dev valgrind tree python3-pip python3-setuptools libevdev-dev doxygen
PIP_PACKAGES: meson ninja libevdev pyudev pytest yq
jobs:
deploy:
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pkginstall
with:
apt: $UBUNTU_PACKAGES
# install python so we get pip for meson
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: ./.github/actions/pkginstall
with:
apt: $UBUNTU_PACKAGES
pip: $PIP_PACKAGES
- name: meson test ${{matrix.meson_options}}
uses: ./.github/actions/meson
with:
meson_args: -Ddocumentation=enabled
meson_skip_test: yes
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./builddir/html/
allow_empty_commit: true