File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1616environment :
1717 matrix :
1818 - CLOWNFISH_HOST : c
19+ BUILD_ENV : mingw32
20+ - CLOWNFISH_HOST : c
21+ BUILD_ENV : msvc
1922 MSVC_VERSION : 10
2023 - CLOWNFISH_HOST : c
24+ BUILD_ENV : msvc
2125 MSVC_VERSION : 12
2226 - CLOWNFISH_HOST : perl
2327
Original file line number Diff line number Diff line change @@ -23,6 +23,14 @@ exit /b 1
2323
2424:test_c
2525
26+ if " %BUILD_ENV% " == " msvc" goto test_msvc
27+ if " %BUILD_ENV% " == " mingw32" goto test_mingw32
28+
29+ echo unknown BUILD_ENV: %BUILD_ENV%
30+ exit /b 1
31+
32+ :test_msvc
33+
2634if " %MSVC_VERSION% " == " 10" goto msvc_10
2735
2836call " C:\Program Files (x86)\Microsoft Visual Studio %MSVC_VERSION% .0\VC\vcvarsall.bat" amd64
@@ -41,6 +49,18 @@ call configure && nmake && nmake test
4149
4250exit /b
4351
52+ :test_mingw32
53+
54+ path C:\MinGW\bin;%path%
55+
56+ cd compiler\c
57+ call configure && mingw32-make && mingw32-make test || exit /b
58+
59+ cd ..\..\runtime\c
60+ call configure && mingw32-make && mingw32-make test
61+
62+ exit /b
63+
4464:test_perl
4565
4666path C:\MinGW\bin;%path%
You can’t perform that action at this time.
0 commit comments