Skip to content

Commit 2600485

Browse files
committed
Build Cygwin and MinGW in parallel.
1 parent 4dba5bf commit 2600485

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

mingw.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ environment:
66

77
matrix:
88
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
9+
BUILD: MINGW64
10+
INTEGRATION_TESTS: 1
11+
ARCHITECTURE: x86_64
12+
UNIT_TESTS: 1
13+
WEBREADY: False
14+
WARNINGS_AS_ERRORS: ON
15+
matrix:
16+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
17+
BUILD: CYGWIN64
918
INTEGRATION_TESTS: 1
1019
ARCHITECTURE: x86_64
1120
UNIT_TESTS: 1
@@ -35,14 +44,14 @@ build_script:
3544
- cmd: set CMD=%CMD%; cmake --build . --config Release
3645
- cmd: rem echo %CMD%
3746
- cd %APPVEYOR_BUILD_FOLDER%
38-
- cmd: C:\msys64\usr\bin\bash -c "%CMD%"
47+
- cmd: if "%BUILD%"=="MINGW64" then C:\msys64\usr\bin\bash -c "%CMD%"
3948
- cmd: set CMD=which python3 python
4049
- cmd: set CMD=%CMD%; python --version
4150
- cmd: set CMD=%CMD%; build/bin/exiv2 --verbose --version; pwd ; ls -l
4251
- cmd: set CMD=%CMD%; cd build ; cmake --build . --config Release --target python_tests
4352
- cmd: echo %CMD%
4453
- cd %APPVEYOR_BUILD_FOLDER%
45-
- cmd: C:\msys64\usr\bin\bash -c "%CMD%"
54+
- cmd: if "%BUILD%"=="MINGW64" C:\msys64\usr\bin\bash -c "%CMD%"
4655
- cmd: set "PATH=c:\cygwin64\usr\local\bin;c:\cygwin64\bin;c:\cygwin64\usr\bin;c:\cygwin64\usr\sbin;"
4756
- cmd: set CMD=rm -rf build
4857
- cmd: set CMD=%CMD%; mkdir -p build
@@ -52,5 +61,5 @@ build_script:
5261
- cmd: set CMD=%CMD%; make python_tests
5362
- cmd: echo %CMD%
5463
- cd %APPVEYOR_BUILD_FOLDER%
55-
- cmd: C:\cygwin64\bin\bash -c "%CMD%"
64+
- cmd: if "%BUILD%"=="CYGWIN64" C:\cygwin64\bin\bash -c "%CMD%"
5665

0 commit comments

Comments
 (0)