Module: Mesa
Branch: master
Commit: a9a0c693e5cfaf25fbda09d226d4965942baf348
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9a0c693e5cfaf25fbda09d226d4965942baf348

Author: Jose Fonseca <[email protected]>
Date:   Tue Dec  8 22:26:32 2015 +0000

appveyor: Cache winflexbison archive.

Unforunately the Appveyor -> SourceForge connection seems a bit
unreliable, causing frequent build failures while downloading
winflexbison (approx once every 2 days).

Fetching winflexbison archive into Appveyor's cache should eliminate
these.

Fetching Python modules from PyPI doesn't seem to be a problem, so they
are left alone for now, though they could eventually get the same
treatment.

---

 appveyor.yml |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index 84dc4de..68cc368 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -27,22 +27,26 @@ branches:
 clone_depth: 5
 
 cache:
+- win_flex_bison-2.4.5.zip
 - llvm-3.3.1-msvc2013-mtd.7z
 
 environment:
+  WINFLEXBISON_ARCHIVE: win_flex_bison-2.4.5.zip
   LLVM_ARCHIVE: llvm-3.3.1-msvc2013-mtd.7z
 
 install:
-# Install pip
+# Check pip
 - python --version
-- python -m ensurepip
+- python -m pip --version
 # Install Mako
 - python -m pip install --egg Mako
 # Install SCons
 - python -m pip install --egg scons==2.4.1
 - scons --version
 # Install flex/bison
-- cinst winflexbison -y
+- if not exist "%WINFLEXBISON_ARCHIVE%" appveyor DownloadFile 
"http://downloads.sourceforge.net/project/winflexbison/%WINFLEXBISON_ARCHIVE%";
+- 7z x -y -owinflexbison\ "%WINFLEXBISON_ARCHIVE%" > nul
+- set Path=%CD%\winflexbison;%Path%
 - win_flex --version
 - win_bison --version
 # Download and extract LLVM

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to