-
-
Notifications
You must be signed in to change notification settings - Fork 235
37 lines (31 loc) · 941 Bytes
/
build-linux-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
name: Linux Qt5 QMake g++
on:
push:
branches: [master, develop]
jobs:
test-build:
runs-on: ubuntu-18.04
timeout-minutes: 120
steps:
- name: Clone QuickQanava
uses: actions/checkout@v2
with:
ref: master
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
modules: qtcore qttools qtgui qtquickcontrols2
version: 5.15.2
target: desktop
setup-python: false
- name: Create Build Dir
run: mkdir build
working-directory: ${{runner.workspace}}
- name: Configure qmake
run: |
QT_SELECT=5 qmake CONFIG+=release -spec linux-g++-64 -o Makefile ${GITHUB_WORKSPACE}/quickqanava.pro
working-directory: ${{runner.workspace}}/build
shell: bash
- name: Build Project
run: make -j$(nproc)
working-directory: ${{runner.workspace}}/build