• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1version: 1.0.{build}
2image:
3  - Visual Studio 2013
4  - Visual Studio 2015
5  - Visual Studio 2017
6  - Visual Studio 2019
7platform:
8  - Win32
9  - x64
10configuration:
11  - Debug
12  - Release
13clone_depth: 1
14build:
15  parallel: true
16for:
17  -
18    matrix:
19      only:
20        - image: Visual Studio 2013
21    build:
22      project: msvc\libusb_2013.sln
23
24  -
25    matrix:
26      only:
27        - image: Visual Studio 2015
28          configuration: Debug
29    build:
30      project: msvc\libusb_2015.sln
31
32  -
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"
43      - 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
45
46  -
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"
57      - 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
59
60  -
61    matrix:
62      only:
63        - image: Visual Studio 2017
64    build:
65      project: msvc\libusb_2017.sln
66
67  -
68    matrix:
69      only:
70        - image: Visual Studio 2019
71    build:
72      project: msvc\libusb_2019.sln
73