-
-
Notifications
You must be signed in to change notification settings - Fork 155
/
appveyor.yml
41 lines (36 loc) · 1.27 KB
/
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
34
35
36
37
38
39
40
41
version: "{build}"
image: Visual Studio 2019
clone_folder: c:\GOPATH\src\github.com\errata-ai\vale
environment:
GOPATH: c:\GOPATH
GOROOT: C:\go
GOVERSION: 1.23.0
# tree-sitter
CGO_ENABLED: 1
CC: C:\msys64\mingw64\bin\gcc.exe
init:
- cmd: set PATH=C:\msys64\mingw64\bin;C:\MinGW\bin;%cd%/bin;%PATH%
install:
- set PATH=%GOPATH%\bin;c:\go\bin;C:\Ruby24\bin;%cd%;%PATH%
- rmdir C:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip
- 7z x go%GOVERSION%.windows-amd64.zip -y -oC:\ > NUL
- go version
- go env
- choco install ansicon
- pip install docutils
- gem install asciidoctor
- choco install xsltproc
# Git on AppVeyor includes a non-functional xsltproc. Remove this.
- if exist "%ProgramFiles%\Git\usr\bin\xsltproc.exe" del "%ProgramFiles%\Git\usr\bin\xsltproc.exe"
- curl -fsSL -o C:\dita-ot-3.4.zip https://github.com/dita-ot/dita-ot/releases/download/3.4/dita-ot-3.4.zip
- 7z x C:\dita-ot-3.4.zip -y -r -oC:\dita
- set PATH=C:\dita\dita-ot-3.4\bin;%PATH%
build_script:
- cmd: go version
- cmd: C:\msys64\usr\bin\make.exe setup
- cmd: C:\msys64\usr\bin\make.exe build os=windows exe=vale.exe
test_script:
- cmd: C:\msys64\usr\bin\make.exe test
# after_test:
# - cmd: make compare