forked from bitcoin-core/gui-qml
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (45 loc) · 1.17 KB
/
Copy pathci.yml
File metadata and controls
52 lines (45 loc) · 1.17 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
name: Build and Test
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]
jobs:
linux:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential \
cmake \
ninja-build \
pkg-config \
libevent-dev \
libsqlite3-dev \
zlib1g-dev \
libboost-all-dev \
qt6-base-dev \
qt6-base-dev-tools \
qt6-tools-dev \
qt6-l10n-tools \
qt6-tools-dev-tools \
qt6-declarative-dev \
qml6-module-qtquick \
qml6-module-qtqml \
libgl-dev \
libqrencode-dev
- name: Configure (CMake)
run: |
cmake -S . -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_APP_TESTS=ON
- name: Build
run: cmake --build build --parallel
- name: Run tests
run: ctest --test-dir build --output-on-failure