-
-
Notifications
You must be signed in to change notification settings - Fork 205
40 lines (34 loc) · 1.25 KB
/
Copy pathdircon-loopback.yml
File metadata and controls
40 lines (34 loc) · 1.25 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
name: DirCon loopback integration test
on:
pull_request:
push:
workflow_dispatch:
jobs:
linux-dircon-loopback:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Qt dependencies
run: |
sudo apt update -y
sudo apt-get install -y \
qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools \
qtquickcontrols2-5-dev qtconnectivity5-dev qtpositioning5-dev \
libqt5bluetooth5 libqt5widgets5 libqt5positioning5 libqt5xml5 \
libqt5charts5-dev libqt5charts5 libqt5networkauth5-dev \
libqt5websockets5 libqt5websockets5-dev \
libqt5sql5-sqlite libqt5sql5 libqt5sql5-mysql libqt5sql5-psql \
libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev \
libxcb-shape0-dev libxcb-xkb-dev
- name: Build qdomyos-zwift static library
run: |
qmake src/qdomyos-zwift-lib.pro
make -j"$(nproc)"
- name: Build test binary
run: |
qmake tst/qdomyos-zwift-tests.pro
make -j"$(nproc)"
- name: Run DirCon loopback test (fakebike server -> dircon client)
run: |
cd tst
./qdomyos-zwift-tests --gtest_filter=DirconLoopbackTestSuite.*