-
Notifications
You must be signed in to change notification settings - Fork 5
59 lines (48 loc) · 1.39 KB
/
test.yml
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
# vim: sw=2
name: Test
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
ubuntu-qt5:
name: Qt 5.15.2 / Ubuntu 22.04
runs-on: ubuntu-22.04
env:
CFLAGS: -fsanitize=address,undefined
CXXFLAGS: -fsanitize=address,undefined
steps:
- uses: actions/checkout@v3
- name: Setup CMake
uses: ./.github/actions/cmake
- name: Build and test
uses: ./.github/actions/build-and-test
ubuntu-qt6:
name: Qt 6.5.0 / Ubuntu 22.04
runs-on: ubuntu-22.04
env:
CFLAGS: -fsanitize=address,undefined
CXXFLAGS: -fsanitize=address,undefined
steps:
- uses: actions/checkout@v3
- name: Setup CMake
uses: ./.github/actions/cmake
- name: Build and test
uses: ./.github/actions/build-and-test
windows:
name: Qt 6.5.0 / Windows
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- name: Setup CMake
uses: ./.github/actions/cmake
with:
additional_cmake_args: |
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY='${{github.workspace}}/build/bin' \
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY='${{github.workspace}}/build/bin'
- name: Build and test
uses: ./.github/actions/build-and-test