-
Notifications
You must be signed in to change notification settings - Fork 6
39 lines (31 loc) · 763 Bytes
/
linux.yml
File metadata and controls
39 lines (31 loc) · 763 Bytes
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: Linux
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Out
uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: "6.10.1"
host: linux
target: desktop
arch: linux_gcc_64
- name: Configure CMake
run: cmake --preset linux -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install
- name: Build library
run: cmake --build --preset linux --target install
- name: Build tests
run: cmake --build --preset linux-test
- name: Run tests
run: ctest --preset linux