mirror of
https://github.com/huderlem/porymap.git
synced 2026-03-21 17:45:44 -05:00
Add build test for missing modules
This commit is contained in:
parent
26404168f5
commit
0f8eb35f76
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
|
@ -19,6 +19,10 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
qtversion: [5.14.2, 6.8.*]
|
||||
configflags: ['minimal', '']
|
||||
exclude:
|
||||
- qtversion: 6.8.*
|
||||
configflags: 'minimal'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
|
|
@ -32,7 +36,7 @@ jobs:
|
|||
cache: 'true'
|
||||
|
||||
- name: Configure
|
||||
run: qmake porymap.pro
|
||||
run: qmake porymap.pro CONFIG+=${{ matrix.configflags}}
|
||||
|
||||
- name: Compile
|
||||
run: make -j8
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
#-------------------------------------------------
|
||||
|
||||
QT += core gui
|
||||
QT += core gui widgets
|
||||
|
||||
qtHaveModule(charts) {
|
||||
QT += charts
|
||||
|
|
@ -22,7 +22,10 @@ qtHaveModule(network) {
|
|||
warning("Qt module 'network' not found, disabling network features.")
|
||||
}
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
# Overwrite the available modules for a minimal build test
|
||||
minimal {
|
||||
QT = core gui widgets
|
||||
}
|
||||
|
||||
TARGET = porymap
|
||||
TEMPLATE = app
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user