File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Test
2+
3+ on :
4+ push :
5+ branches : [ "**" ]
6+ pull_request :
7+ branches : [ "**" ]
8+
9+ jobs :
10+ linux :
11+ runs-on : ubuntu-24.04
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+ with :
16+ submodules : recursive
17+
18+ - name : Install dependencies
19+ run : |
20+ sudo apt-get update
21+ sudo apt-get install -y \
22+ build-essential \
23+ cmake \
24+ ninja-build \
25+ pkg-config \
26+ libevent-dev \
27+ libsqlite3-dev \
28+ zlib1g-dev \
29+ libboost-all-dev \
30+ qt6-base-dev \
31+ qt6-declarative-dev \
32+ libqt6quickcontrols2-dev
33+
34+ - name : Configure (CMake)
35+ run : |
36+ cmake -S . -B build -G Ninja \
37+ -DCMAKE_BUILD_TYPE=Release \
38+ -DBUILD_APP_TESTS=ON
39+
40+ - name : Build
41+ run : cmake --build build --parallel
42+
43+ - name : Run tests
44+ run : ctest --test-dir build --output-on-failure
45+
You can’t perform that action at this time.
0 commit comments