mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-01-31 01:25:21 +01:00
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
os: Visual Studio 2015
|
|
|
|
environment:
|
|
matrix:
|
|
- BUILD_ENV: msbuild
|
|
arch: x64
|
|
- BUILD_ENV: msbuild
|
|
arch: Win32
|
|
- BUILD_ENV: cygwin
|
|
|
|
install:
|
|
- cmd: if %BUILD_ENV%==cygwin (
|
|
C:\cygwin64\setup-x86_64.exe --quiet-mode --no-shortcuts --upgrade-also --packages autoconf,automake )
|
|
|
|
build_script:
|
|
- cmd: if %BUILD_ENV%==msbuild (
|
|
msbuild .\windows\hidapi.sln /p:Configuration=Release /p:Platform=%arch% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" )
|
|
- cmd: if %BUILD_ENV%==cygwin (
|
|
C:\cygwin64\bin\bash -exlc "cd $APPVEYOR_BUILD_FOLDER; ./bootstrap; ./configure; make" )
|
|
|
|
artifacts:
|
|
# Win32 artifacts
|
|
- path: .\windows\Release\hidapi.dll
|
|
- path: .\windows\Release\hidapi.lib
|
|
- path: .\windows\Release\hidapi.pdb
|
|
- path: .\windows\Release\hidtest.exe
|
|
- path: .\windows\Release\hidtest.pdb
|
|
# x64 artifacts
|
|
- path: .\windows\x64\Release\hidapi.dll
|
|
- path: .\windows\x64\Release\hidapi.lib
|
|
- path: .\windows\x64\Release\hidapi.pdb
|
|
- path: .\windows\x64\Release\hidtest.exe
|
|
- path: .\windows\x64\Release\hidtest.pdb
|