mirror of
https://github.com/CNugteren/CLBlast.git
synced 2024-07-04 21:36:57 +02:00
Added configuration for AppVeyor to keep the results of the builds as an 'artifact'
This commit is contained in:
parent
871b576c06
commit
7c6bb6e21d
|
@ -1,6 +1,7 @@
|
|||
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"
|
||||
|
||||
|
@ -44,9 +45,21 @@ install:
|
|||
- ps: popd
|
||||
|
||||
before_build:
|
||||
- ps: mkdir $env:CLBLAST_INSTALL
|
||||
- ps: mkdir $env:CLBLAST_ROOT
|
||||
- ps: pushd $env:CLBLAST_ROOT
|
||||
- cmake -G "Visual Studio 14 Win64" -DTESTS=ON -DCLIENTS=ON -DSAMPLES=ON %APPVEYOR_BUILD_FOLDER%
|
||||
- cmake -G "Visual Studio 14 Win64" -DCMAKE_INSTALL_PREFIX=$env:CLBLAST_INSTALL -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: mv CLBlast-Windows-x64.zip $env:APPVEYOR_BUILD_FOLDER
|
||||
|
||||
artifacts:
|
||||
- path: '*.zip'
|
||||
name: release
|
||||
type: zip
|
||||
|
|
Loading…
Reference in a new issue