-
Notifications
You must be signed in to change notification settings - Fork 0
/
shippable.yml
51 lines (45 loc) · 1.47 KB
/
shippable.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
## Simple buildup configuration file for the Shippable-CI service (https://app.shippable.com)
##
## see: http://docs.shippable.com/en/latest/samples/index.html
## see: https://github.com/sympy/csympy/blob/b5b126d6465e6f6293edffb0342258b3fb8a30d3/.travis.yml
##
## This script can be also adapted for travis-ci
##
# include branches to test (master branch only)
branches:
only:
- master
# language settings - prepare Python environment
language: python
# install/upgrade needed software
install:
# install the newest versions
- sudo apt-get update
- sudo apt-get autoclean
- sudo apt-get clean
- sudo apt-get install gcc g++ gfortran make cmake
- sudo apt-get install libblas-dev liblapack-dev
- sudo apt-get install libopenblas-base
- sudo apt-get install libopenblas-dev
# system info
before_script:
# show info about available processors
- lscpu
- echo nproc=$(nproc)
# show available disc space
- df -h
# show available memory
- free -m
# configure, build optimized code and run
script:
- python ./setup --fc=gfortran --cmake-options='--no-warn-unused-cli -DMATH_LIB_SEARCH_ORDER="OPENBLAS;ATLAS;SYSTEM_NATIVE;MKL" -D BUILDNAME="shippable_gfortran"' --explicit-libs="'-L/usr/lib -llapack'" || true
- cd build
- make VERBOSE=1
- make VERBOSE=0 Experimental
# ldd : show dependencies
- ldd bin/example
# run test (should end with 0)
- bin/example
# turn off email notifications
notifications:
email: false