blob: 36cfa96f271aee2211e66a87bd3ec7326117b8a3 [file] [log] [blame]
hacker2490fc2840f2016-03-03 21:11:20 +01001version: 1.0.{build}
Chris Dickens8f7f8562020-03-26 15:40:23 -07002image:
3 - Visual Studio 2013
4 - Visual Studio 2015
5 - Visual Studio 2017
6 - Visual Studio 2019
hacker2490fc2840f2016-03-03 21:11:20 +01007platform:
Chris Dickens8f7f8562020-03-26 15:40:23 -07008 - Win32
9 - x64
10configuration:
11 - Debug
12 - Release
13clone_depth: 1
hacker249040fb6ff2016-03-03 17:01:37 +053014build:
hacker249040fb6ff2016-03-03 17:01:37 +053015 parallel: true
Chris Dickens8f7f8562020-03-26 15:40:23 -070016for:
17 -
18 matrix:
19 only:
20 - image: Visual Studio 2013
21 build:
22 project: msvc\libusb_2013.sln
hacker2490a42b5242016-03-03 17:01:37 +053023
Chris Dickens8f7f8562020-03-26 15:40:23 -070024 -
25 matrix:
26 only:
27 - image: Visual Studio 2015
28 configuration: Debug
29 build:
30 project: msvc\libusb_2015.sln
hacker2490a42b5242016-03-03 17:01:37 +053031
Chris Dickens8f7f8562020-03-26 15:40:23 -070032 -
33 matrix:
34 only:
35 - image: Visual Studio 2015
36 platform: Win32
37 configuration: Release
38 install:
39 - cmd: xcopy /S /I "%APPVEYOR_BUILD_FOLDER%" C:\msys64\home\appveyor\libusb
40 - cmd: xcopy /S /I "%APPVEYOR_BUILD_FOLDER%" C:\cygwin\home\appveyor\libusb
41 build_script:
42 - cmd: msbuild "%APPVEYOR_BUILD_FOLDER%\msvc\libusb_2015.sln" /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
Chris Dickens1ce667f2020-03-31 15:47:31 -070043 - cmd: C:\msys64\usr\bin\bash -l "%APPVEYOR_BUILD_FOLDER%\.private\appveyor_build.sh" MinGW
44 - cmd: C:\cygwin\bin\bash -l "%APPVEYOR_BUILD_FOLDER%\.private\appveyor_build.sh" cygwin
hacker2490a42b5242016-03-03 17:01:37 +053045
Chris Dickens8f7f8562020-03-26 15:40:23 -070046 -
47 matrix:
48 only:
49 - image: Visual Studio 2015
50 platform: x64
51 configuration: Release
52 install:
53 - cmd: xcopy /S /I "%APPVEYOR_BUILD_FOLDER%" C:\msys64\home\appveyor\libusb
54 - cmd: xcopy /S /I "%APPVEYOR_BUILD_FOLDER%" C:\cygwin64\home\appveyor\libusb
55 build_script:
56 - cmd: msbuild "%APPVEYOR_BUILD_FOLDER%\msvc\libusb_2015.sln" /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
Chris Dickens1ce667f2020-03-31 15:47:31 -070057 - cmd: C:\msys64\usr\bin\bash -l "%APPVEYOR_BUILD_FOLDER%\.private\appveyor_build.sh" MinGW
58 - cmd: C:\cygwin64\bin\bash -l "%APPVEYOR_BUILD_FOLDER%\.private\appveyor_build.sh" cygwin
hacker2490fc2840f2016-03-03 21:11:20 +010059
Chris Dickens8f7f8562020-03-26 15:40:23 -070060 -
61 matrix:
62 only:
63 - image: Visual Studio 2017
64 build:
65 project: msvc\libusb_2017.sln
hacker2490fc2840f2016-03-03 21:11:20 +010066
Chris Dickens8f7f8562020-03-26 15:40:23 -070067 -
68 matrix:
69 only:
70 - image: Visual Studio 2019
71 build:
72 project: msvc\libusb_2019.sln