-
Notifications
You must be signed in to change notification settings - Fork 172
43 lines (39 loc) · 1.1 KB
/
pages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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