forked from libusb/hidapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
33 lines (29 loc) · 1.08 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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