Skip to content

Commit 0e5394d

Browse files
committed
ci: add build test
1 parent cfacdd7 commit 0e5394d

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build-test.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test Build Plugin
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Install Dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y build-essential pkg-config libqt5dbus5-dev libmpv-dev
23+
24+
- name: Build plugin
25+
run: make
26+
27+
- name: Upload Artifact
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: plugin
31+
path: kde-night-color-playback.so
32+
retention-days: 1

0 commit comments

Comments
 (0)