-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (39 loc) · 971 Bytes
/
qt5.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
name: Build (Ubuntu)
on:
push:
paths:
- 'src/**'
- '.github/workflows/qt5.yml'
branches:
- 'main'
pull_request:
paths:
- 'src/**'
- '.github/workflows/qt5.yml'
jobs:
build:
name: Build Qt5
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04,ubuntu-20.04]
qt_ver: [5.12.10,5.15.2]
qt_arch: [gcc_64]
cmake_build_type: [Release]
steps:
- name: Install Qt
uses: jurplel/[email protected]
with:
version: ${{ matrix.qt_ver }}
cached: 'false'
modules: 'qtcharts'
- name: Install CMake
uses: jwlawson/[email protected]
- name: Checkout Repo
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Configure Cmake
run: cmake -B build -S src -DCMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }}
- name: Build
run: make -C build