Skip to content

Commit a0b9772

Browse files
committed
Let's see
1 parent c0df4d5 commit a0b9772

File tree

1 file changed

+85
-30
lines changed

1 file changed

+85
-30
lines changed

.circleci/config.yml

Lines changed: 85 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,95 @@
11
version: 2
22

3-
jobs:
4-
build:
3+
variables:
4+
intel-linux: &intel-linux
55
docker:
66
- image: devcafe/cmake-cookbook_circleci_ubuntu16.04-intel2018.1
77
user: root
88
environment:
99
CIRCLECI_COMPILER: intel
1010
working_directory: ~/cmake-cookbook
11+
setup: &setup
12+
run:
13+
name: Set up Python dependencies
14+
command: |
15+
pip install --user pipenv --upgrade pip
16+
pipenv install --three
17+
report: &report
18+
run:
19+
name: Report
20+
command: |
21+
pipenv run python --version
22+
tests: &tests
23+
name: Testing
24+
shell: /bin/bash
25+
command: |
26+
source /opt/intel/bin/compilervars.sh -arch intel64 -platform linux
27+
pipenv run python testing/collect_tests.py 'chapter-01/recipe-*' &&
28+
pipenv run python testing/collect_tests.py 'chapter-02/recipe-*' &&
29+
pipenv run python testing/collect_tests.py 'chapter-03/recipe-*' &&
30+
pipenv run python testing/collect_tests.py 'chapter-04/recipe-*' &&
31+
pipenv run python testing/collect_tests.py 'chapter-05/recipe-*' &&
32+
pipenv run python testing/collect_tests.py 'chapter-06/recipe-*' &&
33+
pipenv run python testing/collect_tests.py 'chapter-07/recipe-*' &&
34+
pipenv run python testing/collect_tests.py 'chapter-08/recipe-*' &&
35+
pipenv run python testing/collect_tests.py 'chapter-09/recipe-*' &&
36+
pipenv run python testing/collect_tests.py 'chapter-10/recipe-*' &&
37+
pipenv run python testing/collect_tests.py 'chapter-11/recipe-0[1-3]' &&
38+
pipenv run python testing/collect_tests.py 'chapter-12/recipe-*' &&
39+
pipenv run python testing/collect_tests.py 'chapter-13/recipe-*' &&
40+
pipenv run python testing/collect_tests.py 'chapter-14/recipe-*'
41+
tests-conda: &tests-conda
42+
name: Testing
43+
shell: /bin/bash
44+
command: |
45+
source /opt/intel/bin/compilervars.sh -arch intel64 -platform linux
46+
pipenv run python testing/collect_tests.py 'chapter-11/recipe-04' &&
47+
pipenv run python testing/collect_tests.py 'chapter-11/recipe-05'
48+
49+
jobs:
50+
intel:
51+
<<: *intel-linux
1152
steps:
1253
- checkout
13-
- run:
14-
name: Python dependencies
15-
command: |
16-
pip install --user pipenv --upgrade pip
17-
pipenv install --three
18-
- run:
19-
name: Report
20-
command: |
21-
pipenv run python --version
22-
- run:
23-
shell: /bin/bash
24-
name: Testing
25-
command: |
26-
source /opt/intel/bin/compilervars.sh -arch intel64 -platform linux
27-
pipenv run python testing/collect_tests.py 'chapter-01/recipe-*' &&
28-
pipenv run python testing/collect_tests.py 'chapter-02/recipe-*' &&
29-
pipenv run python testing/collect_tests.py 'chapter-03/recipe-*' &&
30-
pipenv run python testing/collect_tests.py 'chapter-04/recipe-*' &&
31-
pipenv run python testing/collect_tests.py 'chapter-05/recipe-*' &&
32-
pipenv run python testing/collect_tests.py 'chapter-06/recipe-*' &&
33-
pipenv run python testing/collect_tests.py 'chapter-07/recipe-*' &&
34-
pipenv run python testing/collect_tests.py 'chapter-08/recipe-*' &&
35-
pipenv run python testing/collect_tests.py 'chapter-09/recipe-*' &&
36-
pipenv run python testing/collect_tests.py 'chapter-10/recipe-*' &&
37-
pipenv run python testing/collect_tests.py 'chapter-11/recipe-0[1-3]' &&
38-
pipenv run python testing/collect_tests.py 'chapter-12/recipe-*' &&
39-
pipenv run python testing/collect_tests.py 'chapter-13/recipe-*' &&
40-
pipenv run python testing/collect_tests.py 'chapter-14/recipe-*'
54+
- *setup
55+
- *report
56+
- *tests
57+
58+
#jobs:
59+
# build:
60+
# docker:
61+
# - image: devcafe/cmake-cookbook_circleci_ubuntu16.04-intel2018.1
62+
# user: root
63+
# environment:
64+
# CIRCLECI_COMPILER: intel
65+
# working_directory: ~/cmake-cookbook
66+
# steps:
67+
# - checkout
68+
# - run:
69+
# name: Python dependencies
70+
# command: |
71+
# pip install --user pipenv --upgrade pip
72+
# pipenv install --three
73+
# - run:
74+
# name: Report
75+
# command: |
76+
# pipenv run python --version
77+
# - run:
78+
# shell: /bin/bash
79+
# name: Testing
80+
# command: |
81+
# source /opt/intel/bin/compilervars.sh -arch intel64 -platform linux
82+
# pipenv run python testing/collect_tests.py 'chapter-01/recipe-*' &&
83+
# pipenv run python testing/collect_tests.py 'chapter-02/recipe-*' &&
84+
# pipenv run python testing/collect_tests.py 'chapter-03/recipe-*' &&
85+
# pipenv run python testing/collect_tests.py 'chapter-04/recipe-*' &&
86+
# pipenv run python testing/collect_tests.py 'chapter-05/recipe-*' &&
87+
# pipenv run python testing/collect_tests.py 'chapter-06/recipe-*' &&
88+
# pipenv run python testing/collect_tests.py 'chapter-07/recipe-*' &&
89+
# pipenv run python testing/collect_tests.py 'chapter-08/recipe-*' &&
90+
# pipenv run python testing/collect_tests.py 'chapter-09/recipe-*' &&
91+
# pipenv run python testing/collect_tests.py 'chapter-10/recipe-*' &&
92+
# pipenv run python testing/collect_tests.py 'chapter-11/recipe-0[1-3]' &&
93+
# pipenv run python testing/collect_tests.py 'chapter-12/recipe-*' &&
94+
# pipenv run python testing/collect_tests.py 'chapter-13/recipe-*' &&
95+
# pipenv run python testing/collect_tests.py 'chapter-14/recipe-*'

0 commit comments

Comments
 (0)