Skip to content

Commit

Permalink
fix appveyor config
Browse files Browse the repository at this point in the history
AppVeyor sets the latest go stack in C:\go and that is GOROOT.
Cloning this repo under C:\go\src\.. directory confused go build
(as discussed in golang/go#34657). The fix in go is not yet
released. Thus this commit changes GOPATH to c:\gopath and clones
the repo under the directory.

Also, this commit removes the go get commands intended to pull in
dependencies. In modules mode, `go build` pulls in the required
dependencies.
  • Loading branch information
hyangah committed Dec 5, 2019
1 parent afa7f63 commit 8ba3b6f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
clone_folder: c:\go\src\github.com\google\pprof
clone_folder: c:\gopath\src\github.com\google\pprof

environment:
GOPATH: c:\gopath

install:
- cinst graphviz

before_build:
- go get github.com/ianlancetaylor/demangle
- go get github.com/chzyer/readline

build_script:
- go env
- go build github.com/google/pprof

test_script:
Expand Down

0 comments on commit 8ba3b6f

Please sign in to comment.