2015-08-18 07:22:27 +02:00
|
|
|
language: cpp
|
2016-03-13 10:47:53 +01:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
# kubuntu-backports contains newer versions of cmake to install
|
|
|
|
- kubuntu-backports
|
|
|
|
packages:
|
|
|
|
- cmake
|
2016-07-28 17:03:35 +02:00
|
|
|
- ocl-icd-opencl-dev
|
2016-03-13 10:47:53 +01:00
|
|
|
|
2017-01-23 22:00:23 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
|
|
|
- os: osx
|
|
|
|
|
2016-03-13 10:47:53 +01:00
|
|
|
env:
|
|
|
|
global:
|
2022-09-22 22:07:33 +02:00
|
|
|
- CLBLAST_VERSION=1.5.3
|
2016-06-27 12:47:39 +02:00
|
|
|
- CLBLAST_ROOT=${TRAVIS_BUILD_DIR}/bin/clblast
|
2017-07-30 18:19:46 +02:00
|
|
|
- CLBLAST_INSTALL=${TRAVIS_BUILD_DIR}/bin/CLBlast-${CLBLAST_VERSION}
|
|
|
|
- CLBLAST_TAR=CLBlast-${CLBLAST_VERSION}-${TRAVIS_OS_NAME}-x64.tar.gz
|
2016-03-13 10:47:53 +01:00
|
|
|
|
2015-08-19 09:20:10 +02:00
|
|
|
before_install:
|
2016-03-13 10:47:53 +01:00
|
|
|
- cmake --version;
|
|
|
|
- ${CC} --version;
|
|
|
|
- ${CXX} --version;
|
|
|
|
|
2015-08-18 07:22:27 +02:00
|
|
|
before_script:
|
2017-07-30 18:19:46 +02:00
|
|
|
- mkdir -p ${CLBLAST_INSTALL}
|
2016-03-13 10:47:53 +01:00
|
|
|
- mkdir -p ${CLBLAST_ROOT}
|
|
|
|
- pushd ${CLBLAST_ROOT}
|
2017-07-30 18:19:46 +02:00
|
|
|
- cmake -DTESTS=ON -DCLIENTS=ON -DSAMPLES=ON -DCMAKE_INSTALL_PREFIX=${CLBLAST_INSTALL} ${TRAVIS_BUILD_DIR}
|
2016-03-13 10:47:53 +01:00
|
|
|
|
2015-08-18 08:25:32 +02:00
|
|
|
script:
|
|
|
|
- make
|
2017-07-30 18:19:46 +02:00
|
|
|
- make install
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- pushd ${TRAVIS_BUILD_DIR}/bin
|
2017-07-30 18:34:39 +02:00
|
|
|
- rm ${CLBLAST_INSTALL}/bin/clblast_client_*
|
|
|
|
- rm ${CLBLAST_INSTALL}/bin/clblast_test_*
|
2017-07-30 18:53:26 +02:00
|
|
|
- echo ${CLBLAST_TAR}
|
2017-07-30 18:34:39 +02:00
|
|
|
- tar -cvf ${CLBLAST_TAR} CLBlast-${CLBLAST_VERSION}
|
|
|
|
- cp ${CLBLAST_TAR} ${TRAVIS_BUILD_DIR}
|
2017-07-30 18:53:26 +02:00
|
|
|
- pushd ${TRAVIS_BUILD_DIR}
|
|
|
|
- ls -l
|
2016-03-13 10:47:53 +01:00
|
|
|
|
2015-09-14 17:16:31 +02:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2016-03-13 10:47:53 +01:00
|
|
|
|
2015-08-18 08:25:32 +02:00
|
|
|
notifications:
|
|
|
|
email: false
|
2017-07-30 18:19:46 +02:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: oBnP56zfFTiON0v6nm6qiRevtTsojqaxV2E/+ahUP4iyZxZgn1zf9reGNEbB/s6wfHCwXpXKlCk3A0cEQzbfoZeQy3oMzyWHV/xgu+etOENe3z18oVEiVBe/WAd1/hMVmQvX65kHR+q12rce6K6rDm1mEIJC/udf5Dbdl2alVWgiL20Hrj/PSQAYZZuTmZLuMm7OBc1G2xhRmRo5FYgI2u1ZALUHDRov/yLQkoKwxAlzBhURoNTHW2wTAr3Pq01Fk2kfQFRmg7YFieu3cit/JGNzaDdgmT0U5pLRzhuPiD3qziNnC3rG7tnYV0jHQOLKH+AJ0csbNncG47JrUQrKDJGUs0fLBxHG4ErEdVc/s+l/ZTGBT6kOEjk5GLQviNuAzP51em+TATR6YJ4JdgnZEU3iwbyeY/lLPPWhOVDfUgLNVKHX7Sijf83Wp+cqspAdIcnT5lWMXUe7jciKQLC0B+jD6IQ/hCqF0/yX/H8Sa8jA+qSIrXWt/qSy1viKaQ3Sf8+rXyxG6dqYc0jUweQ248FOgUCtzmaZP48SoMBATN7JPCLzhGnY8IiMErGzc6jsevmoqB0MRqZhc2qsLEfTclxsMmfx2yVKt93G+zRMtQuYmf36MvDNbPaH+/tzE8pWxufSY0672qhL0sfvNO+FuCJ8Bsk4UwKV3lTeGjCwN5o=
|
|
|
|
file: ${CLBLAST_TAR}
|
2017-07-30 18:53:26 +02:00
|
|
|
skip_cleanup: true
|
2017-07-30 18:19:46 +02:00
|
|
|
on:
|
|
|
|
repo: CNugteren/CLBlast
|
2017-07-30 18:53:26 +02:00
|
|
|
tags: true
|