-
Notifications
You must be signed in to change notification settings - Fork 22
39 lines (32 loc) · 932 Bytes
/
tests.yml
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
name: Tests
on:
push:
paths:
- '.github/**'
- 'Linux-Application/**'
pull_request:
paths:
- '.github/**'
- 'Linux-Application/**'
release:
jobs:
qt6:
name: Build with Qt 6
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install dependencies
timeout-minutes: 10
run: |
sudo apt-get update
# libgl-dev is needed by QtGui, but not listed as a dependency
sudo apt-get install -y --no-install-recommends cmake libgl-dev qt6-base-dev libqt6serialport6-dev libusb-1.0-0-dev
- name: Configure
timeout-minutes: 5
run: cd Linux-Application && cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_QT_VERSION=6 .
- name: Build
timeout-minutes: 15
run: make -C Linux-Application VERBOSE=1
- name: Install
timeout-minutes: 5
run: make -C Linux-Application DESTDIR=/tmp/staging install