Simplify appveyor config
This commit is contained in:
parent
58fcf0c0da
commit
2c6e32f6ff
@ -1,14 +1,14 @@
|
|||||||
|
configuration:
|
||||||
|
- Debug
|
||||||
|
- Release
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
CTEST_OUTPUT_ON_FAILURE: 1
|
CTEST_OUTPUT_ON_FAILURE: 1
|
||||||
matrix:
|
matrix:
|
||||||
- BUILD: msvc
|
- BUILD: msvc
|
||||||
CONFIG: Debug
|
|
||||||
- BUILD: msvc
|
- BUILD: msvc
|
||||||
CONFIG: Release
|
|
||||||
- BUILD: mingw
|
- BUILD: mingw
|
||||||
CONFIG: Debug
|
|
||||||
- BUILD: mingw
|
- BUILD: mingw
|
||||||
CONFIG: Release
|
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- python support/appveyor-build.py
|
- python support/appveyor-build.py
|
||||||
|
@ -5,7 +5,7 @@ import os
|
|||||||
from subprocess import check_call
|
from subprocess import check_call
|
||||||
|
|
||||||
build = os.environ['BUILD']
|
build = os.environ['BUILD']
|
||||||
config = os.environ['CONFIG']
|
config = os.environ['CONFIGURATION']
|
||||||
path = os.environ['PATH']
|
path = os.environ['PATH']
|
||||||
cmake_command = ['cmake', '-DFMT_PEDANTIC=ON', '-DCMAKE_BUILD_TYPE=' + config]
|
cmake_command = ['cmake', '-DFMT_PEDANTIC=ON', '-DCMAKE_BUILD_TYPE=' + config]
|
||||||
if build == 'mingw':
|
if build == 'mingw':
|
||||||
|
Loading…
Reference in New Issue
Block a user