diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-09-25 10:10:42 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-09-25 10:10:42 +0200 |
commit | a594067758d51cd4ce43732775fb911cca196c93 (patch) | |
tree | affaf263b37d115befbcbca33119892002ca6430 | |
parent | c712fd4cb1d29e033ead3423c05043c74da2bc66 (diff) |
Updated AppVeyor script to fix an issue with changes in the latest AppVeyor servers
-rw-r--r-- | .appveyor.yml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index eb7f1c97..f3fb7094 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,8 +1,9 @@ environment: global: - CLBLAST_ROOT: "%APPVEYOR_BUILD_FOLDER%\\..\\bin\\clblast" + CLBLAST_BUILD: "%APPVEYOR_BUILD_FOLDER%\\..\\bin\\clblast" + INSTALL_DIR: "%APPVEYOR_BUILD_FOLDER%\\..\\bin\\install" OPENCL_REGISTRY: "https://www.khronos.org/registry/cl" - OPENCL_ROOT: "%APPVEYOR_BUILD_FOLDER%\\..\\bin\\opencl" + OPENCL_ROOT: "C:\\dependencies\\opencl" platform: - x64 @@ -44,18 +45,18 @@ install: - ps: popd before_build: - - ps: mkdir $env:CLBLAST_ROOT - - ps: pushd $env:CLBLAST_ROOT - - ps: mkdir install_dir - - cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=install_dir -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTESTS=ON -DCLIENTS=ON -DSAMPLES=ON %APPVEYOR_BUILD_FOLDER% + - ps: mkdir $env:CLBLAST_BUILD + - ps: pushd $env:CLBLAST_BUILD + - ps: mkdir $env:INSTALL_DIR + - cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=$env:INSTALL_DIR -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTESTS=ON -DCLIENTS=ON -DSAMPLES=ON %APPVEYOR_BUILD_FOLDER% build_script: - nmake - nmake install after_build: - - ps: pushd $env:CLBLAST_ROOT - - 7z a CLBlast-Windows-x64.zip .\install_dir\* + - ps: pushd $env:CLBLAST_BUILD + - 7z a CLBlast-Windows-x64.zip $env:INSTALL_DIR\* - ps: mv CLBlast-Windows-x64.zip $env:APPVEYOR_BUILD_FOLDER artifacts: |