Files
gousb/.appveyor/install.sh
Sebastian Zagrodzki 76f12f69ac Refresh pacman in the appveyor build (#84)
...for updated Go package versions. Go 1.12 is gone from the MSYS2 repos.
2020-11-09 10:07:43 +01:00

18 lines
365 B
Bash

#!/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
set -x
pacman --noconfirm -S \
mingw-w64-x86_64-go \
mingw-w64-x86_64-libusb
go version
go get -t github.com/google/gousb/...
go test github.com/google/gousb/...