mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Add mingw bin directory to path and enable mingw build
This commit is contained in:
parent
3b259b5120
commit
6dd532b456
10
appveyor.yml
10
appveyor.yml
@ -1,12 +1,12 @@
|
||||
environment:
|
||||
CTEST_OUTPUT_ON_FAILURE: 1
|
||||
matrix:
|
||||
- BUILD: msvc
|
||||
CONFIG: Debug
|
||||
- BUILD: msvc
|
||||
CONFIG: Release
|
||||
# - BUILD: mingw
|
||||
# - BUILD: msvc
|
||||
# CONFIG: Debug
|
||||
# - BUILD: msvc
|
||||
# CONFIG: Release
|
||||
- BUILD: mingw
|
||||
CONFIG: Debug
|
||||
# - BUILD: mingw
|
||||
# CONFIG: Release
|
||||
|
||||
|
@ -12,7 +12,8 @@ if build == 'mingw':
|
||||
build_command = ['mingw32-make', '-j4']
|
||||
test_command = ['mingw32-make', 'test']
|
||||
# Remove the path to Git bin directory from $PATH because it breaks MinGW config.
|
||||
os.environ['PATH'] = os.environ['PATH'].replace(r'C:\Program Files (x86)\Git\bin', '')
|
||||
path = os.environ['PATH'].replace(r'C:\Program Files (x86)\Git\bin', '')
|
||||
os.environ['PATH'] = path + r';C:\MinGW\bin'
|
||||
else:
|
||||
build_command = ['msbuild', '/m:4', '/p:Config=' + config, 'FORMAT.sln']
|
||||
test_command = ['msbuild', 'RUN_TESTS.vcxproj']
|
||||
|
Loading…
Reference in New Issue
Block a user