forked from tvanderbruggen/SciCpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
41 lines (39 loc) · 1.09 KB
/
config.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
version: 2
jobs:
build:
docker:
- image: buildpack-deps:bionic
steps:
- checkout
- run:
name: Install SciPy
command: apt-get update; apt-get install -y time python-numpy python-scipy;
- run:
name: Install GCC-8
command: apt-get install -y g++-8 gcc-8 libc6-dev libc-dev make;
- run:
name: Install Clang
command: apt-get install -y clang libc++-dev clang-format
- run:
name: Install Eigen
command: bash scripts/install_eigen.sh
- run:
name: Install Sciplot
command: bash scripts/install_sciplot.sh
- run:
name: Test with GCC
command: make COMPILER=gcc clean_test test
- run:
name: Test with Clang
command: make COMPILER=clang clean_test test
- run:
name: Run examples with GCC
command: bash scripts/test_examples.sh gcc
- run:
name: Run examples with Clang
command: bash scripts/test_examples.sh clang
workflows:
version: 2
build-test:
jobs:
- build