Skip to content

Commit

Permalink
Add github actions CI and job for creating deb/rpm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
alex1701c committed Nov 3, 2024
1 parent 0eea60b commit 35f0e6b
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 14 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build KRunner Plugins

on:
push:
branches:
- master
- github_actions
pull_request:
branches:
- master
workflow_dispatch:
inputs:
publish-version:
description: "new version that should get published"
required: true
permissions:
contents: write

jobs:
build-and-publish:
uses: alex1701c/actions/.github/workflows/plugin_ci_publish.yaml@main
with:
publish-version: ${{ inputs.publish-version }}
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ include(FeatureSummary)

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

# KWallet is used for storing the proxy credentials, but it is not for the core functionallity required
Expand Down
32 changes: 19 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,37 +22,43 @@ for instance you can use `!`, `?`, `#` or `<`.
<details>
<summary><b>Debian/Ubuntu</b></summary>

```bash
sudo apt install cmake extra-cmake-modules build-essential libkf5runner-dev libkf5textwidgets-dev qtdeclarative5-dev gettext libkf5notifications-dev libkf5wallet-dev libkf5kcmutils-dev
Plasma5:
```bash install-ubuntu-plasma5
sudo apt install cmake extra-cmake-modules build-essential libkf5i18n-dev gettext libkf5runner-dev libkf5notifications-dev libkf5wallet-dev libkf5kcmutils-dev
```
Plasma6:
```bash install-ubuntu-plasma6
sudo apt install cmake extra-cmake-modules build-essential libkf6i18n-dev gettext libkf6runner-dev libkf6notifications-dev libkf6wallet-dev libkf6kcmutils-dev
```

</details>

<details>
<summary><b>OpenSUSE</b></summary>

```bash
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
Plasma5:
```bash install-opensuse-plasma5
sudo zypper install cmake extra-cmake-modules ki18n-devel krunner-devel gettext-tools knotifications-devel kwallet-devel kcmutils-devel
```
Plasma6:
```bash install-opensuse-plasma6
sudo zypper install cmake extra-cmake-modules kf6-ki18n-devel kf6-krunner-devel gettext-tools kf6-knotifications-devel kf6-kwallet-devel kf6-kcmutils-devel
```

</details>

<details>
<summary><b>Fedora</b></summary>

Plasma5:
```bash
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
sudo dnf install cmake extra-cmake-modules kf5-ki18n-devel gettext kf5-krunner-devel kf5-knotifications-devel kf5-kwallet-devel kf5-kcmutils-devel
```

</details>

<details>
<summary><b>Arch (Manjaro)</b></summary>

Plasma6:
```bash
sudo pacman -S cmake extra-cmake-modules knotifications kwallet kcmutils
sudo dnf install cmake extra-cmake-modules kf6-ki18n-devel gettext kf6-krunner-devel kf6-knotifications-devel kf6-kwallet-devel kf6-kcmutils-devel
```

</details>

## Installation Method
Expand Down

0 comments on commit 35f0e6b

Please sign in to comment.