2016-03-03 13:11:20 -07:00
|
|
|
version: 1.0.{build}
|
2020-03-26 15:40:23 -07:00
|
|
|
image:
|
|
|
|
- Visual Studio 2013
|
|
|
|
- Visual Studio 2015
|
|
|
|
- Visual Studio 2017
|
|
|
|
- Visual Studio 2019
|
2022-02-26 20:29:43 -07:00
|
|
|
- Visual Studio 2022
|
2016-03-03 13:11:20 -07:00
|
|
|
platform:
|
2020-03-26 15:40:23 -07:00
|
|
|
- Win32
|
|
|
|
- x64
|
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
- Release
|
2022-02-26 20:29:43 -07:00
|
|
|
environment:
|
|
|
|
toolset: UNK
|
2020-03-26 15:40:23 -07:00
|
|
|
clone_depth: 1
|
2016-03-03 04:31:37 -07:00
|
|
|
build:
|
|
|
|
parallel: true
|
2020-03-26 15:40:23 -07:00
|
|
|
for:
|
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- image: Visual Studio 2013
|
2022-02-26 20:29:43 -07:00
|
|
|
environment:
|
|
|
|
toolset: v120
|
2020-03-26 15:40:23 -07:00
|
|
|
build:
|
2022-02-26 20:29:43 -07:00
|
|
|
project: msvc\libusb.sln
|
2016-03-03 04:31:37 -07:00
|
|
|
|
2020-03-26 15:40:23 -07:00
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- image: Visual Studio 2015
|
|
|
|
configuration: Debug
|
2022-02-26 20:29:43 -07:00
|
|
|
environment:
|
|
|
|
toolset: v140
|
2020-03-26 15:40:23 -07:00
|
|
|
build:
|
2022-02-26 20:29:43 -07:00
|
|
|
project: msvc\libusb.sln
|
2016-03-03 04:31:37 -07:00
|
|
|
|
2020-03-26 15:40:23 -07:00
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- image: Visual Studio 2015
|
|
|
|
platform: Win32
|
|
|
|
configuration: Release
|
2022-02-26 20:29:43 -07:00
|
|
|
environment:
|
|
|
|
toolset: v140
|
2020-03-26 15:40:23 -07:00
|
|
|
install:
|
|
|
|
- cmd: xcopy /S /I "%APPVEYOR_BUILD_FOLDER%" C:\msys64\home\appveyor\libusb
|
|
|
|
- cmd: xcopy /S /I "%APPVEYOR_BUILD_FOLDER%" C:\cygwin\home\appveyor\libusb
|
|
|
|
build_script:
|
2022-02-26 20:29:43 -07:00
|
|
|
- cmd: msbuild "%APPVEYOR_BUILD_FOLDER%\msvc\libusb.sln" /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
2020-03-31 15:47:31 -07:00
|
|
|
- cmd: C:\msys64\usr\bin\bash -l "%APPVEYOR_BUILD_FOLDER%\.private\appveyor_build.sh" MinGW
|
|
|
|
- cmd: C:\cygwin\bin\bash -l "%APPVEYOR_BUILD_FOLDER%\.private\appveyor_build.sh" cygwin
|
2022-02-09 03:41:26 -07:00
|
|
|
after_build:
|
2022-02-26 20:29:43 -07:00
|
|
|
- cmd: 7z a "libusb-build_%APPVEYOR_BUILD_WORKER_IMAGE%_%PLATFORM%_%CONFIGURATION%.7z" tag_* README-build.txt build\%TOOLSET%\%PLATFORM%\%CONFIGURATION%\dll build\%TOOLSET%\%PLATFORM%\%CONFIGURATION%\lib build\%TOOLSET%\%PLATFORM%\%CONFIGURATION%\*.exe C:\msys64\home\appveyor\libusb-MinGW-Win32 C:\cygwin\home\appveyor\libusb-cygwin-Win32
|
2016-03-03 13:11:20 -07:00
|
|
|
|
2020-03-26 15:40:23 -07:00
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- image: Visual Studio 2015
|
|
|
|
platform: x64
|
|
|
|
configuration: Release
|
2022-02-26 20:29:43 -07:00
|
|
|
environment:
|
|
|
|
toolset: v140
|
2020-03-26 15:40:23 -07:00
|
|
|
install:
|
|
|
|
- cmd: xcopy /S /I "%APPVEYOR_BUILD_FOLDER%" C:\msys64\home\appveyor\libusb
|
|
|
|
- cmd: xcopy /S /I "%APPVEYOR_BUILD_FOLDER%" C:\cygwin64\home\appveyor\libusb
|
|
|
|
build_script:
|
2022-02-26 20:29:43 -07:00
|
|
|
- cmd: msbuild "%APPVEYOR_BUILD_FOLDER%\msvc\libusb.sln" /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
2020-03-31 15:47:31 -07:00
|
|
|
- cmd: C:\msys64\usr\bin\bash -l "%APPVEYOR_BUILD_FOLDER%\.private\appveyor_build.sh" MinGW
|
|
|
|
- cmd: C:\cygwin64\bin\bash -l "%APPVEYOR_BUILD_FOLDER%\.private\appveyor_build.sh" cygwin
|
2022-02-09 03:41:26 -07:00
|
|
|
after_build:
|
2022-02-26 20:29:43 -07:00
|
|
|
- cmd: 7z a "libusb-build_%APPVEYOR_BUILD_WORKER_IMAGE%_%PLATFORM%_%CONFIGURATION%.7z" tag_* README-build.txt build\%TOOLSET%\%PLATFORM%\%CONFIGURATION%\dll build\%TOOLSET%\%PLATFORM%\%CONFIGURATION%\lib build\%TOOLSET%\%PLATFORM%\%CONFIGURATION%\*.exe C:\msys64\home\appveyor\libusb-MinGW-x64 C:\cygwin64\home\appveyor\libusb-cygwin-x64
|
2016-03-03 13:11:20 -07:00
|
|
|
|
2020-03-26 15:40:23 -07:00
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- image: Visual Studio 2017
|
2022-02-26 20:29:43 -07:00
|
|
|
environment:
|
|
|
|
toolset: v141
|
2020-03-26 15:40:23 -07:00
|
|
|
build:
|
2022-02-26 20:29:43 -07:00
|
|
|
project: msvc\libusb.sln
|
2016-03-03 04:31:37 -07:00
|
|
|
|
2020-03-26 15:40:23 -07:00
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- image: Visual Studio 2019
|
2022-02-26 20:29:43 -07:00
|
|
|
environment:
|
|
|
|
toolset: v142
|
2020-03-26 15:40:23 -07:00
|
|
|
build:
|
2022-02-26 20:29:43 -07:00
|
|
|
project: msvc\libusb.sln
|
|
|
|
|
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- image: Visual Studio 2022
|
|
|
|
environment:
|
|
|
|
toolset: v143
|
|
|
|
build:
|
|
|
|
project: msvc\libusb.sln
|
2022-01-29 14:04:08 -07:00
|
|
|
|
|
|
|
after_build:
|
|
|
|
- cmd: ECHO This was built by %APPVEYOR_BUILD_WORKER_IMAGE% from %APPVEYOR_REPO_NAME% commit %APPVEYOR_REPO_COMMIT% > README-build.txt
|
|
|
|
- cmd: ECHO > tag_%APPVEYOR_REPO_TAG_NAME%_commit_%APPVEYOR_REPO_COMMIT%
|
2022-02-26 20:29:43 -07:00
|
|
|
- cmd: 7z a "libusb-build_%APPVEYOR_BUILD_WORKER_IMAGE%_%PLATFORM%_%CONFIGURATION%.7z" tag_* README-build.txt build\%TOOLSET%\%PLATFORM%\%CONFIGURATION%\dll build\%TOOLSET%\%PLATFORM%\%CONFIGURATION%\lib build\%TOOLSET%\%PLATFORM%\%CONFIGURATION%\*.exe
|
2022-01-29 14:04:08 -07:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: "libusb-build_%APPVEYOR_BUILD_WORKER_IMAGE%_%PLATFORM%_%CONFIGURATION%.7z"
|