Skip to content

Matrix configuration (os, libsigc++) for CI #32

Matrix configuration (os, libsigc++) for CI

Matrix configuration (os, libsigc++) for CI #32

Workflow file for this run

name: Build plasmoid plugin
on: [push]
jobs:
build:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
libsigcpp: ["libsigc++-2.0-dev"]
include:
# libsigc++-3.0 is not available on ubuntu 22.04
- os: ubuntu-24.04
libsigcpp: "libsigc++-3.0-dev"
runs-on: ${{ matrix.os }}
name: Build on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Installing system libs
run: |
sudo apt update
sudo apt install libkf5plasma-dev extra-cmake-modules qtbase5-dev qtdeclarative5-dev ${{matrix.libsigcpp}} libjsoncpp-dev i3-wm
- name: Configure
run: cmake -DCMAKE_INSTALL_PREFIX=$(kf5-config --prefix) -DCI_ERRORS=on -B build .
- name: Build
run: make -j $(nproc) -C build
- name: Install
run: sudo make -C build install