diff --git a/appveyor.yml b/appveyor.yml index 7c4bd66a..a5340ef3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -29,7 +29,7 @@ install: } - ps: if($env:tbs_tools -eq 'mingw' -and $env:tbs_arch -eq 'x86') { - Start-FileDownload "http://libgd.blob.core.windows.net/mingw/i686-4.9.1-release-posix-seh-rt_v3-rev1.7z"; + Start-FileDownload "http://libgd.blob.core.windows.net/mingw/i686-4.9.1-release-posix-dwarf-rt_v3-rev1.7z"; 7z x -oC:\ x86_64-4.9.1-release-posix-seh-rt_v3-rev1.7z | out-null; } - set GO_ENABLED=1 @@ -42,7 +42,7 @@ install: build_script: - if [%tbs_tools%]==[mingw] if [%tbs_arch%]==[x86] SET PATH=C:\mingw32\bin;%PATH% - if [%tbs_tools%]==[mingw] if [%tbs_arch%]==[x64] SET PATH=C:\mingw64\bin;%PATH% - if [%tbs_arch%]==[x86] SET GOARCH=386 + - if [%tbs_arch%]==[x86] SET GOARCH=386 - go build -v -o "godoc_windows_%GOARCH%.exe" -ldflags="-w -X github.com/lifei6671/godoc/conf.VERSION=%APPVEYOR_REPO_TAG_NAME% -X 'github.com/lifei6671/godoc/conf.BUILD_TIME=`date`' -X 'conf.GO_VERSION=`github.com/lifei6671/godoc/go version`'" test_script: