Skip to content

Commit 90c196c

Browse files
anotherdaveVladimir Kotal
authored andcommitted
Fix #2318 supply Universal ctags for Appveyor build
1 parent 8da27e9 commit 90c196c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

appveyor.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,17 @@ install:
1717
- cmd: SET PATH=%M2_HOME%\bin;%JAVA_HOME%\bin;%PATH:C:\Ruby193\bin;=%;
1818
- cmd: mvn --version
1919
- cmd: java -version
20+
- ps: |
21+
Add-Type -AssemblyName System.IO.Compression.FileSystem
22+
if (!(Test-Path -Path "C:\uctags" )) {
23+
Write-Host "Downloading Universal Ctags"
24+
# Project has not had a versioned release so far, but looks like these nightly builds are retained for at least a year
25+
# so picked an arbitrary version to use for tests
26+
(new-object System.Net.WebClient).DownloadFile("https://github.com/universal-ctags/ctags-win32/releases/download/2018-09-29%2Fd0807887/ctags-2018-09-29_d0807887-x86.zip", 'C:\uctags-bin.zip')
27+
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\uctags-bin.zip", "C:\uctags")
28+
}
2029
build_script:
21-
- mvn -B -V clean verify
30+
- mvn -B -V -Dorg.opengrok.indexer.analysis.Ctags=c:\uctags\ctags.exe clean verify
2231
cache:
2332
- C:\maven\ -> appveyor.yml
2433
- C:\Users\appveyor\.m2\ -> pom.xml

0 commit comments

Comments
 (0)