Browse Source

[appveyor] save and cache

pull/1341/head
xoviat GitHub 8 years ago
parent
commit
4446dee89b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      appveyor.yml

+ 4
- 0
appveyor.yml View File

@@ -27,6 +27,8 @@ cache:
- '%USERPROFILE%\clcache' - '%USERPROFILE%\clcache'


environment: environment:
global:
APPVEYOR_SAVE_CACHE_ON_ERROR: true
matrix: matrix:
- COMPILER: clang-cl - COMPILER: clang-cl
DYNAMIC_ARCH: ON DYNAMIC_ARCH: ON
@@ -44,6 +46,8 @@ before_build:
- echo Running cmake... - echo Running cmake...
- cd c:\projects\OpenBLAS - cd c:\projects\OpenBLAS
- set CLCACHE_CL=%COMPILER% - set CLCACHE_CL=%COMPILER%
- clcache -M 644245094
- clcache -c
- if [%COMPILER%]==[cl] cmake -G "Visual Studio 12 Win64" -DCMAKE_CXX_COMPILER=clcache -DCMAKE_C_COMPILER=clcache . - if [%COMPILER%]==[cl] cmake -G "Visual Studio 12 Win64" -DCMAKE_CXX_COMPILER=clcache -DCMAKE_C_COMPILER=clcache .
- if [%COMPILER%]==[clang-cl] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clcache -DCMAKE_C_COMPILER=clcache . - if [%COMPILER%]==[clang-cl] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clcache -DCMAKE_C_COMPILER=clcache .
- if [%DYNAMIC_ARCH%]==[ON] cmake -DDYNAMIC_ARCH=ON . - if [%DYNAMIC_ARCH%]==[ON] cmake -DDYNAMIC_ARCH=ON .


Loading…
Cancel
Save