-
Notifications
You must be signed in to change notification settings - Fork 6
64 lines (56 loc) · 1.73 KB
/
Copy pathbuild-linux.yml
File metadata and controls
64 lines (56 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Debian Build
on:
workflow_dispatch: # Manual triggering
workflow_call: # Allow this workflow to be called by other workflows
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Dependencies
run: |
sudo apt update && sudo apt install -y --no-install-recommends \
qtbase5-dev \
qtchooser \
qtdeclarative5-dev \
libqt5quick5 \
libqt5quickcontrols2-5 \
libqt5serialport5-dev \
mesa-common-dev \
libglu1-mesa-dev \
qtquickcontrols2-5-dev \
libqt5opengl5-dev \
qt5dxcb-plugin \
libxcb-util-dev \
build-essential \
cmake \
ninja-build \
pkg-config \
qttools5-dev \
qttools5-dev-tools \
gtk-update-icon-cache \
fuse libfuse2 \
zsync file appstream
- name: Build DataPlotter
run: |
mkdir build
cd build
cmake -G Ninja ..
ninja
- name: Package Debian Package
run: |
python3 ./extras/deploy_debian_native/deploy.py debian
- name: Upload Debian Package
uses: actions/upload-artifact@v4
with:
name: DataPlotter-Deb-Package
path: ./extras/deploy_debian_native/deploy/*.deb
- name: Package AppImage
run: |
python3 ./extras/deploy_debian_native/deploy.py appimage
- name: Upload AppImage
uses: actions/upload-artifact@v4
with:
name: DataPlotter-AppImage
path: ./extras/deploy_debian_native/deploy/DataPlotter*.AppImage*