summaryrefslogtreecommitdiff
path: root/appveyor_minGW.bat
diff options
context:
space:
mode:
authorChris Dickens <christopher.a.dickens@gmail.com>2020-03-26 15:40:23 -0700
committerChris Dickens <christopher.a.dickens@gmail.com>2020-03-26 15:40:23 -0700
commit8f7f8560a7ff3db832748bef576bbfd5af527fcf (patch)
tree653662e21194438f36033e097573b2a78c665e76 /appveyor_minGW.bat
parentc66f39f9ba8e2cd5b6ee89e853fcf8570046d715 (diff)
downloadlibusb-8f7f8560a7ff3db832748bef576bbfd5af527fcf.tar.gz
appveyor: Increase build coverage to all VS solutions
Using the 'for' construct allows the specification of a more complex build matrix. This additionally simplifies the builds using MinGW and Cygwin because the build script can be unified and does not require checking for the 'Release' configuration. This change also extends the MinGW builds to cover both 32-bit and 64-bit builds using GCC versions 6.3.0 and 8.1.0, respectively. The Cygwin builds were similarly extended to include 64-bit build coverage. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'appveyor_minGW.bat')
-rw-r--r--appveyor_minGW.bat19
1 files changed, 0 insertions, 19 deletions
diff --git a/appveyor_minGW.bat b/appveyor_minGW.bat
deleted file mode 100644
index 3ed6272..0000000
--- a/appveyor_minGW.bat
+++ /dev/null
@@ -1,19 +0,0 @@
-echo on
-SetLocal EnableDelayedExpansion
-
-if [%Configuration%] NEQ [Release] exit 0
-
-if [%Platform%] NEQ [x64] goto Win32
-C:\msys64\usr\bin\bash -e -l -c "./bootstrap.sh" || exit /B
-C:\msys64\usr\bin\bash -e -l -c "mkdir build-x64" || exit /B
-C:\msys64\usr\bin\bash -e -l -c "cd build-x64 && ../configure --prefix=/mingw64 --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --enable-examples-build --enable-tests-build" || exit /B
-C:\msys64\usr\bin\bash -e -l -c "cd build-x64 && make -j4" || exit /B
-C:\msys64\usr\bin\bash -e -l -c "cd build-x64 && make install" || exit /B
-
-:Win32
-if [%Platform%] NEQ [Win32] exit 0
-C:\msys64\usr\bin\bash -e -l -c "./bootstrap.sh" || exit /B
-C:\msys64\usr\bin\bash -e -l -c "mkdir build-Win32" || exit /B
-C:\msys64\usr\bin\bash -e -l -c "cd build-Win32 && ../configure --prefix=/mingw32 --build=i686-w64-mingw32 --host=i686-w64-mingw32 --enable-examples-build --enable-tests-build" || exit /B
-C:\msys64\usr\bin\bash -e -l -c "cd build-Win32 && make -j4" || exit /B
-C:\msys64\usr\bin\bash -e -l -c "cd build-Win32 && make install" || exit /B \ No newline at end of file