This repository has been archived by the owner on Jun 21, 2024. It is now read-only.
QT6 and KF6 fixes #25
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
# SPDX-FileCopyrightText: 2022 Malte Jürgens and contributors | |
# | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: Test | |
on: | |
push: | |
pull_request: | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
env: | |
BUILD_TYPE: Release | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: sudo apt update && sudo apt install -y build-essential cmake qtbase5-dev qtwebengine5-dev libkf5notifications-dev libkf5xmlgui-dev libkf5globalaccel-dev pkg-config libpipewire-0.3-dev git | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: clang-format | |
uses: DoozyX/clang-format-lint-action@v0.16.2 | |
with: | |
source: src | |
- name: REUSE Compliance Check | |
uses: fsfe/reuse-action@v2.0.0 |