mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2024-11-15 12:15:43 +08:00
Specify platform-dependend make
This commit is contained in:
parent
307ffb2811
commit
e17a3c2db8
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -17,14 +17,16 @@ jobs:
|
||||
- qt_version: 6.0.0
|
||||
additional_arguments: -D QT_DEFAULT_MAJOR_VERSION=6
|
||||
- platform: ubuntu-20.04
|
||||
make: make
|
||||
CXXFLAGS: -Wall -Wextra -pedantic -Werror
|
||||
MAKEFLAGS: -j2
|
||||
- platform: macos-latest
|
||||
make: make
|
||||
CXXFLAGS: -Wall -Wextra -pedantic -Werror
|
||||
MAKEFLAGS: -j3
|
||||
- platform: windows-latest
|
||||
CXXFLAGS: /W4 /WX
|
||||
MAKEFLAGS: /m
|
||||
make: nmake
|
||||
CXXFLAGS: /W4 /WX /MP
|
||||
|
||||
runs-on: ${{ matrix.platform }}
|
||||
env:
|
||||
@ -70,16 +72,16 @@ jobs:
|
||||
working-directory: examples/basic/
|
||||
run: |
|
||||
qmake
|
||||
make
|
||||
${{ matrix.make }}
|
||||
|
||||
- name: Build calculator example QMake
|
||||
working-directory: examples/calculator/
|
||||
run: |
|
||||
qmake
|
||||
make
|
||||
${{ matrix.make }}
|
||||
|
||||
- name: Build sending_arguments example with QMake
|
||||
working-directory: examples/sending_arguments/
|
||||
run: |
|
||||
qmake
|
||||
make
|
||||
${{ matrix.make }}
|
||||
|
Loading…
Reference in New Issue
Block a user