Appveyor support (#2)
This commit is contained in:

committed by
zagrodzki

parent
00e8f24bda
commit
aa64bae804
15
.appveyor/install.sh
Normal file
15
.appveyor/install.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
export PATH="/mingw64/bin:${PATH}"
|
||||
export PKG_CONFIG_PATH="/mingw64/lib/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
export GOROOT=/mingw64/lib/go
|
||||
export GOPATH=/go
|
||||
export CGO_ENABLED=1
|
||||
|
||||
pacman --noconfirm -S \
|
||||
mingw64/mingw-w64-x86_64-go \
|
||||
mingw64/mingw-w64-x86_64-libusb
|
||||
|
||||
go version
|
||||
go get -t github.com/google/gousb/...
|
||||
go test github.com/google/gousb/...
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
*.sw[op]
|
||||
.idea/
|
||||
|
8
appveyor.yml
Normal file
8
appveyor.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
platform: x64
|
||||
|
||||
clone_folder: C:\msys64\go\src\github.com\google\gousb
|
||||
|
||||
install:
|
||||
- C:\msys64\usr\bin\bash.exe -lc "cd /go/src/github.com/google/gousb/ && .appveyor/./install.sh"
|
||||
|
||||
build: off
|
Reference in New Issue
Block a user