-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (32 loc) · 986 Bytes
/
ci.yaml
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
name: build
on: [push]
jobs:
jobs_matrix:
strategy:
matrix:
os: [ubuntu-22.04, macos-13, windows-2022]
build_type: [Debug, Release]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: true
- name: Checkout LFS objects
run: git lfs pull
- name: Install Qt 6.5
uses: jurplel/install-qt-action@v4
with:
version: '6.5.*'
target: 'desktop'
- name: Create build directory
run: mkdir build
- name: Configure
working-directory: ${{github.workspace}}/build
run: cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ..
- name: Build
working-directory: ${{github.workspace}}/build
run: cmake --build . --config ${{ matrix.build_type }}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{ matrix.build_type }} -VV .