-
Notifications
You must be signed in to change notification settings - Fork 118
/
.travis.yml
47 lines (41 loc) · 1.66 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
language: cpp
matrix:
include:
- name: "Windows"
os: windows
install:
- choco install visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
- name: "Linux"
os: linux
dist: focal
- name: "Linux arm64"
os: linux
arch: arm64
dist: focal
- name: "OSX"
os: osx
before_script:
- git submodule update --init --recursive --remote
- mkdir build
- cd build
script:
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Release .. ; fi
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then cmake .. ; fi
- cmake --build . --config Release
- ctest -VV
- cmake --build . --config Release --target package
branches:
except:
- dev
notifications:
email: false
deploy:
provider: releases
api_key:
secure: nWkv1F4ZP3YRWiS3g6mYWViOsijmVErbyPBdM1rn5qvai44OJxPRzoa3d24hxTJ7I+RARWxL7GFCVW5+nHOllJImL1TEWi4dMhxxwg6HyMvVKx1rS2RrHhM3kAeF4E9dAharBHi/6ecd3SvPNMdp7tsPxfMjmAVrspkSiD8ynlqT3qsDlB8TYg4ASgTniUJjxzVx5RAfR+Xja5pYctWQW++1ihKbtddtTlKxkV4uCpHCL6vKd3xHIZTl+INMOjPyIAGgQaKlbJYpexLJ6wcs4LLZhehD+dhoISigBOa0ceMqR0F5eBFRDRUbz/i253qhi5jp/JV5otOY0Z0CZiXDcsP+nx8CG9aXKFgYnSinA5qRLvOWi9rh20kpB4sURq5NqiWAlsjo7tGiPhiL5HehlNsGw6RCdXRw4wgO/3NrmO7jXj2Wmsoqx957m0yYC0tgKN5/Sh+GzD504NwY3ZxQqZ1kyE1HS8OkCARUhJ2Zc/Uc2Ka+0xwJqjZLylfWBXsgZljg8Hv4papJ+gHm3CLyMgoo7NID1lbPlcE2hhT3Ia5kDME9D8o0JpaTV+4YwqB0VpKzRQA4xPkphsd4FK4ZxRLlgKtS+HrdMOCdo/nhBDZf2eUKdwfFYrSTdtaynbiw37uX3IxyHUzuHdhuEOekonrHFvjT9yQzCItIbDNvwI0=
file_glob: true
file: clpeak-*.zip
skip_cleanup: true
on:
repo: krrishnarraj/clpeak
tags: true