-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.magnum.yml
31 lines (28 loc) · 1014 Bytes
/
.magnum.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
##
## Simple buildup configuration file for the Magnum-CI service
## (https://magnum-ci.com/docs/configuration)
##
##
# **Note**
# If you want to run this buildup only on some branches you can select them in settings of your project
# (Settings -> Build Configuration).
install:
# update sources
- sudo apt-get clean
- sudo apt-get autoclean
- sudo apt-get update
# install software
- sudo apt-get install gfortran make cmake libblas-dev liblapack-dev python-pip python-setuptools python-dev -y
# install Python packages with pip
- sudo pip install pytest
script:
# show CPU info
- lscpu
#- echo " number of procs at this machine : $(cat /proc/cpuinfo | grep processor | wc -l)"
# configure and build
- python ./setup --fc=gfortran --cmake-options="--no-warn-unused-cli -DMATH_LIB_SEARCH_ORDER='SYSTEM_NATIVE;ATLAS' -D BUILDNAME='magnum_gfortran'" || true
- cd build
- make VERBOSE=1
- make VERBOSE=0 Experimental
- ldd bin/example
- bin/example