[mlpack-git] master: Use appveyor cache (nuget and armadillo). (14aca37)
gitdub at mlpack.org
gitdub at mlpack.org
Tue Jun 7 13:32:35 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/44883afb19a2f2dd0e1fe29d96c873bf97335521...14aca3718be01738fe2e541a48058491a7e59cd6
>---------------------------------------------------------------
commit 14aca3718be01738fe2e541a48058491a7e59cd6
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date: Tue Jun 7 19:32:35 2016 +0200
Use appveyor cache (nuget and armadillo).
>---------------------------------------------------------------
14aca3718be01738fe2e541a48058491a7e59cd6
.appveyor.yml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.appveyor.yml b/.appveyor.yml
index 2061029..3dff67f 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -18,8 +18,8 @@ build_script:
- ps: cp C:\projects\mlpack\boost_random-vc140.1.60.0.0\lib\native\address-model-64\lib\*.* C:\projects\mlpack\boost_libs\
- ps: cp C:\projects\mlpack\boost_serialization-vc140.1.60.0.0\lib\native\address-model-64\lib\*.* C:\projects\mlpack\boost_libs\
- ps: cp C:\projects\mlpack\boost_unit_test_framework-vc140.1.60.0.0\lib\native\address-model-64\lib\*.* C:\projects\mlpack\boost_libs\
- - appveyor DownloadFile http://sourceforge.net/projects/arma/files/armadillo-6.500.5.tar.gz
- - 7z x armadillo-6.500.5.tar.gz -so | 7z x -si -ttar > nul
+ - if not exist armadillo.tar.gz appveyor DownloadFile "http://sourceforge.net/projects/arma/files/armadillo-6.500.5.tar.gz" -FileName armadillo.tar.gz
+ - 7z x armadillo.tar.gz -so | 7z x -si -ttar > nul
- cd armadillo-6.500.5 && mkdir build && cd build
- cmake -G "Visual Studio 14 2015 Win64" -DBLAS_LIBRARY:FILEPATH="%APPVEYOR_BUILD_FOLDER%/OpenBLAS.0.2.14.1/lib/native/lib/x64/libopenblas.dll.a" -DLAPACK_LIBRARY:FILEPATH="%APPVEYOR_BUILD_FOLDER%/OpenBLAS.0.2.14.1/lib/native/lib/x64/libopenblas.dll.a" -DCMAKE_PREFIX:FILEPATH="%APPVEYOR_BUILD_FOLDER%/armadillo" -DBUILD_SHARED_LIBS=OFF ..
- '"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" "C:\projects\mlpack\armadillo-6.500.5\build\armadillo.sln" /m /verbosity:quiet /p:Configuration=Release;Platform=x64'
@@ -40,6 +40,10 @@ notifications:
on_build_failure: true
on_build_status_changed: true
+cache:
+ - packages -> **\packages.config
+ - armadillo.tar.gz -> appveyor.yaml
+
# All plans have maximum build job execution time of 60 minutes. But right, now
# the machine takes 30 minutes to build the code and at least 50 minutes to run
# all tests.
More information about the mlpack-git
mailing list