Cosmetic #136
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |