-
Notifications
You must be signed in to change notification settings - Fork 4
74 lines (62 loc) · 2.1 KB
/
ci.yml
File metadata and controls
74 lines (62 loc) · 2.1 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
65
66
67
68
69
70
71
72
73
74
name: Build and Test
on:
push:
branches: [ "master", "main", "dev" ]
pull_request:
branches: [ "master", "main", "dev" ]
jobs:
build:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: Ubuntu 24.04
container: ubuntu:24.04
- name: Ubuntu 25.10
container: ubuntu:25.10
- name: Fedora 42
container: fedora:42
- name: Fedora 43
container: fedora:43
container: ${{ matrix.container }}
env:
DEBIAN_FRONTEND: noninteractive
QT_QPA_PLATFORM: offscreen
steps:
- name: Install Git (Ubuntu)
if: contains(matrix.name, 'Ubuntu')
run: |
apt-get update
apt-get install -y git
- name: Install Git (Fedora)
if: contains(matrix.name, 'Fedora')
run: |
dnf install -y git
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Dependencies (Ubuntu)
if: contains(matrix.name, 'Ubuntu')
run: |
apt-get update
apt-get install -y build-essential cmake pkg-config ninja-build \
qt6-base-dev qt6-declarative-dev qt6-tools-dev librtmidi-dev librtaudio-dev libsndfile-dev libjack-jackd2-dev \
qml6-module-qtcore qml6-module-qtqml qml6-module-qtqml-workerscript qml6-module-qtquick \
qml6-module-qtquick-controls qml6-module-qtquick-dialogs qml6-module-qtquick-layouts \
qml6-module-qtquick-templates qml6-module-qtquick-window
- name: Install Dependencies (Fedora)
if: contains(matrix.name, 'Fedora')
run: |
dnf install -y gcc-c++ cmake ninja-build \
qt6-qtbase-devel qt6-qtdeclarative-devel qt6-qttools-devel rtmidi-devel rtaudio-devel libsndfile-devel jack-audio-connection-kit-devel \
qt6-qtdeclarative qt6-qtquickcontrols2
- name: Configure CMake
run: cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build
- name: Test
run: |
cd build
ctest --output-on-failure