Skip to content

Commit 35f0e6b

Browse files
committed
Add github actions CI and job for creating deb/rpm packages
1 parent 0eea60b commit 35f0e6b

File tree

3 files changed

+43
-14
lines changed

3 files changed

+43
-14
lines changed

.github/workflows/ci.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build KRunner Plugins
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- github_actions
8+
pull_request:
9+
branches:
10+
- master
11+
workflow_dispatch:
12+
inputs:
13+
publish-version:
14+
description: "new version that should get published"
15+
required: true
16+
permissions:
17+
contents: write
18+
19+
jobs:
20+
build-and-publish:
21+
uses: alex1701c/actions/.github/workflows/plugin_ci_publish.yaml@main
22+
with:
23+
publish-version: ${{ inputs.publish-version }}

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ include(FeatureSummary)
2121

2222
# Find the required Libaries
2323
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED CONFIG COMPONENTS Widgets Core Network)
24-
find_package(KF${QT_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED COMPONENTS I18n Service Runner KCMUtils Notifications)
24+
find_package(KF${QT_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED COMPONENTS I18n Runner KCMUtils Notifications)
2525
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
2626

2727
# KWallet is used for storing the proxy credentials, but it is not for the core functionallity required

README.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,37 +22,43 @@ for instance you can use `!`, `?`, `#` or `<`.
2222
<details>
2323
<summary><b>Debian/Ubuntu</b></summary>
2424

25-
```bash
26-
sudo apt install cmake extra-cmake-modules build-essential libkf5runner-dev libkf5textwidgets-dev qtdeclarative5-dev gettext libkf5notifications-dev libkf5wallet-dev libkf5kcmutils-dev
25+
Plasma5:
26+
```bash install-ubuntu-plasma5
27+
sudo apt install cmake extra-cmake-modules build-essential libkf5i18n-dev gettext libkf5runner-dev libkf5notifications-dev libkf5wallet-dev libkf5kcmutils-dev
28+
```
29+
Plasma6:
30+
```bash install-ubuntu-plasma6
31+
sudo apt install cmake extra-cmake-modules build-essential libkf6i18n-dev gettext libkf6runner-dev libkf6notifications-dev libkf6wallet-dev libkf6kcmutils-dev
2732
```
2833

2934
</details>
3035

3136
<details>
3237
<summary><b>OpenSUSE</b></summary>
3338

34-
```bash
35-
sudo zypper install cmake extra-cmake-modules libQt5Widgets5 libQt5Core5 libqt5-qtlocation-devel ki18n-devel ktextwidgets-devel kservice-devel krunner-devel gettext-tools kconfigwidgets-devel knotifications-devel kwallet-devel kcmutils-devel
39+
Plasma5:
40+
```bash install-opensuse-plasma5
41+
sudo zypper install cmake extra-cmake-modules ki18n-devel krunner-devel gettext-tools knotifications-devel kwallet-devel kcmutils-devel
42+
```
43+
Plasma6:
44+
```bash install-opensuse-plasma6
45+
sudo zypper install cmake extra-cmake-modules kf6-ki18n-devel kf6-krunner-devel gettext-tools kf6-knotifications-devel kf6-kwallet-devel kf6-kcmutils-devel
3646
```
3747

3848
</details>
3949

4050
<details>
4151
<summary><b>Fedora</b></summary>
4252

53+
Plasma5:
4354
```bash
44-
sudo dnf install cmake extra-cmake-modules kf5-ki18n-devel kf5-kservice-devel kf5-krunner-devel kf5-ktextwidgets-devel gettext kf5-knotifications-devel kf5-kwallet-devel kf5-kcmutils-devel
55+
sudo dnf install cmake extra-cmake-modules kf5-ki18n-devel gettext kf5-krunner-devel kf5-knotifications-devel kf5-kwallet-devel kf5-kcmutils-devel
4556
```
46-
47-
</details>
48-
49-
<details>
50-
<summary><b>Arch (Manjaro)</b></summary>
51-
57+
Plasma6:
5258
```bash
53-
sudo pacman -S cmake extra-cmake-modules knotifications kwallet kcmutils
59+
sudo dnf install cmake extra-cmake-modules kf6-ki18n-devel gettext kf6-krunner-devel kf6-knotifications-devel kf6-kwallet-devel kf6-kcmutils-devel
5460
```
55-
61+
5662
</details>
5763

5864
## Installation Method

0 commit comments

Comments
 (0)