From 743da1b3fc9acdf64ef01c54db2186007eb7a239 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Tue, 28 Jun 2016 20:06:34 +0200 Subject: [PATCH] Fixes bug in AppVeyor with install directory (2) --- .appveyor.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 14b296eb..ac525f06 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,7 +1,6 @@ environment: global: CLBLAST_ROOT: "%APPVEYOR_BUILD_FOLDER%\\bin\\clblast" - CLBLAST_INSTALL: "%APPVEYOR_BUILD_FOLDER%\\bin\\install" OPENCL_REGISTRY: "https://www.khronos.org/registry/cl" OPENCL_ROOT: "%APPVEYOR_BUILD_FOLDER%\\bin\\opencl" @@ -45,19 +44,18 @@ install: - ps: popd before_build: - - ps: mkdir $env:CLBLAST_INSTALL - ps: mkdir $env:CLBLAST_ROOT - ps: pushd $env:CLBLAST_ROOT - - set INSTALL_PATH=$env:CLBLAST_INSTALL - - cmake -G "Visual Studio 14 Win64" -DCMAKE_INSTALL_PREFIX=%INSTALL_PATH% -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTESTS=ON -DCLIENTS=ON -DSAMPLES=ON %APPVEYOR_BUILD_FOLDER% + - ps: mkdir install_dir + - cmake -G "Visual Studio 14 Win64" -DCMAKE_INSTALL_PREFIX=install_dir -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTESTS=ON -DCLIENTS=ON -DSAMPLES=ON %APPVEYOR_BUILD_FOLDER% build_script: - cmake --build . - cmake --build . --target install after_build: - - ps: pushd $env:CLBLAST_INSTALL - - 7z a CLBlast-Windows-x64.zip .\$env:CLBLAST_INSTALL\* + - ps: pushd $env:CLBLAST_ROOT + - 7z a CLBlast-Windows-x64.zip .\install_dir\* - ps: mv CLBlast-Windows-x64.zip $env:APPVEYOR_BUILD_FOLDER artifacts: