forked from git-lfs/git-lfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
33 lines (26 loc) · 859 Bytes
/
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
skip_branch_with_pr: true
environment:
GOPATH: $(HOMEDRIVE)$(HOMEPATH)\go
MSYSTEM: MINGW64
clone_folder: $(GOPATH)\src\github.com\git-lfs\git-lfs
install:
- echo %GOPATH%
- rd C:\Go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.7.4.windows-amd64.zip
- 7z x go1.7.4.windows-amd64.zip -oC:\ >nul
- C:\go\bin\go version
- cinst InnoSetup -y
- set PATH="C:\Program Files (x86)\Inno Setup 5";%PATH%
build_script:
- bash --login -c 'GOARCH=386 script/bootstrap'
- mv bin\git-lfs.exe git-lfs-x86.exe
- bash --login -c 'GOARCH=amd64 script/bootstrap'
- mv bin\git-lfs.exe git-lfs-x64.exe
after_build:
- iscc script\windows-installer\inno-setup-git-lfs-installer.iss
test_script:
- bash --login script/cibuild
artifacts:
- path: git-lfs-x86.exe
- path: git-lfs-x64.exe
- path: git-lfs-windows-*.exe