summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-09-25 10:20:47 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-09-25 10:20:47 +0200
commit08abb7dfa48217efec1f4cfc828c95a8c9e84692 (patch)
treed8625c646802619dda82a64bc5f5f717b537829e
parenta594067758d51cd4ce43732775fb911cca196c93 (diff)
Fix an issue with the packaging in the AppVeyor script
-rw-r--r--.appveyor.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index f3fb7094..9343a5c0 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,7 +1,6 @@
environment:
global:
CLBLAST_BUILD: "%APPVEYOR_BUILD_FOLDER%\\..\\bin\\clblast"
- INSTALL_DIR: "%APPVEYOR_BUILD_FOLDER%\\..\\bin\\install"
OPENCL_REGISTRY: "https://www.khronos.org/registry/cl"
OPENCL_ROOT: "C:\\dependencies\\opencl"
@@ -47,8 +46,8 @@ install:
before_build:
- 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%
+ - 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%
build_script:
- nmake
@@ -56,7 +55,7 @@ build_script:
after_build:
- ps: pushd $env:CLBLAST_BUILD
- - 7z a CLBlast-Windows-x64.zip $env:INSTALL_DIR\*
+ - 7z a CLBlast-Windows-x64.zip .\install_dir\*
- ps: mv CLBlast-Windows-x64.zip $env:APPVEYOR_BUILD_FOLDER
artifacts: