aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-04-24 15:57:53 -0700
committerGarrett D'Amore <garrett@damore.org>2018-04-24 15:57:53 -0700
commit5e4567c27303f09973ae078c9bf38490c778d2ae (patch)
tree2e1f681bbe56fbbf3dd44be8e9c3d82974449920
parentc337628a3a4ec6bbad4fe062bd281f13ce455e54 (diff)
downloadnng-5e4567c27303f09973ae078c9bf38490c778d2ae.tar.gz
nng-5e4567c27303f09973ae078c9bf38490c778d2ae.tar.bz2
nng-5e4567c27303f09973ae078c9bf38490c778d2ae.zip
fixes #366 Cache ninja-build for AppVeyor
fixes #365 Probably we don't need asciidoctor at build time
-rw-r--r--.appveyor.yml13
1 files changed, 2 insertions, 11 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 1bc0f82e..5942d21d 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,7 +1,6 @@
version: 0.0.{build}
environment:
global:
- ASCIIDOCTOR_VER: 1.5.4
CFLAGS: /MP
TERM: xterm
matrix:
@@ -23,19 +22,11 @@ environment:
cache:
- - '%USERPROFILE%\asciidoctor-%ASCIIDOCTOR_VER%.gem -> .appveyor.yml'
+ - C:\ProgramData\chocolatey\bin -> appveyor.yml
+ - C:\ProgramData\chocolatey\lib -> appveyor.yml
install:
- # Gem fetching can sometimes be excruciatingly slow due to the rubygems database,
- # so we have to manually download our target gem.
- ps: |
- $asciidoctor = "$($env:USERPROFILE)\asciidoctor-$($env:ASCIIDOCTOR_VER).gem"
- if (-not (Test-Path $asciidoctor)) {
- $url = "https://rubygems.org/downloads/asciidoctor-$($env:ASCIIDOCTOR_VER).gem"
- Write-Output "Downloading asciidoctor $env:ASCIIDOCTOR_VER from $url"
- (New-Object Net.WebClient).DownloadFile($url, $asciidoctor)
- }
- gem install --no-document --local $asciidoctor
choco install ninja