CI: bump to use Ubuntu 22.04 #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [ push, pull_request ] | |
env: | |
CFLAGS: "-Werror -Wall -Wextra -Wno-error=sign-compare -Wno-error=unused-parameter -Wno-error=missing-field-initializers" | |
UBUNTU_PACKAGES: meson gettext python3-dev python-gi-dev flake8 desktop-file-utils libappstream-glib-dev appstream-util python3-pytest python3-xdg python3-yaml python3-svgwrite python3-cairo | |
jobs: | |
meson_test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -yq | |
sudo apt-get install -yq --no-install-suggests --no-install-recommends $UBUNTU_PACKAGES | |
- uses: actions/checkout@v3 | |
- name: meson | |
run: meson builddir | |
- name: ninja | |
run: ninja -C builddir test | |
- name: capture build logs | |
uses: actions/upload-artifact@v3 | |
if: ${{ always() }} # even if we fail | |
with: | |
name: meson logs | |
path: | | |
builddir/meson-logs |