Skip to content

CI: Update builds-on-commit env to ubuntu jammy #378

CI: Update builds-on-commit env to ubuntu jammy

CI: Update builds-on-commit env to ubuntu jammy #378

Workflow file for this run

name: Main
on:
push:
branches-ignore:
- 'releases/**'
paths-ignore:
- '**.md'
- '.github/workflows/release.yml'
- '.gitignore'
- 'data/translations/**'
pull_request:
paths-ignore:
- '**.md'
- '.github/workflows/release.yml'
- '.gitignore'
- 'data/translations/**'
jobs:
Main:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
include:
- os: ubuntu-22.04
CXXFLAGS: '-Wall -Wextra -pedantic -Werror'
steps:
- name: Clone repo
uses: actions/[email protected]
with:
submodules: recursive
- name: Install dependent apt packages
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install qttools5-dev libpolkit-qt5-1-dev extra-cmake-modules
- name: Build
run: |
mkdir build
cd build
cmake ..
cmake --build . --parallel 2