forked from CNugteren/CLBlast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (59 loc) · 2.05 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
language: cpp
sudo: required
dist: trusty
addons:
apt:
sources:
# kubuntu-backports contains newer versions of cmake to install
- kubuntu-backports
packages:
- cmake
- ocl-icd-opencl-dev
matrix:
include:
- os: linux
compiler: gcc
- os: linux
compiler: clang
- os: osx
env:
global:
- CLBLAST_VERSION=1.4.0
- CLBLAST_ROOT=${TRAVIS_BUILD_DIR}/bin/clblast
- CLBLAST_INSTALL=${TRAVIS_BUILD_DIR}/bin/CLBlast-${CLBLAST_VERSION}
- CLBLAST_TAR=CLBlast-${CLBLAST_VERSION}-${TRAVIS_OS_NAME}-x64.tar.gz
before_install:
- cmake --version;
- ${CC} --version;
- ${CXX} --version;
before_script:
- mkdir -p ${CLBLAST_INSTALL}
- mkdir -p ${CLBLAST_ROOT}
- pushd ${CLBLAST_ROOT}
- cmake -DTESTS=ON -DCLIENTS=ON -DSAMPLES=ON -DCMAKE_INSTALL_PREFIX=${CLBLAST_INSTALL} ${TRAVIS_BUILD_DIR}
script:
- make
- make install
after_success:
- pushd ${TRAVIS_BUILD_DIR}/bin
- rm ${CLBLAST_INSTALL}/bin/clblast_client_*
- rm ${CLBLAST_INSTALL}/bin/clblast_test_*
- echo ${CLBLAST_TAR}
- tar -cvf ${CLBLAST_TAR} CLBlast-${CLBLAST_VERSION}
- cp ${CLBLAST_TAR} ${TRAVIS_BUILD_DIR}
- pushd ${TRAVIS_BUILD_DIR}
- ls -l
branches:
only:
- master
notifications:
email: false
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}
skip_cleanup: true
on:
repo: CNugteren/CLBlast
tags: true