Skip to content

Commit 341b200

Browse files
committed
Skip tests where PGI image cannot find Python libs
1 parent 77c75e6 commit 341b200

File tree

5 files changed

+29
-5
lines changed

5 files changed

+29
-5
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ variables:
1313
- image: devcafe/cmake-cookbook_circleci_ubuntu16.04-pgi18.4
1414
user: root
1515
environment:
16-
CIRCLECI_COMPILER: pgi
16+
CIRCLECI_COMPILER: pgi
1717
working_directory: ~/cmake-cookbook
1818
setup: &setup
1919
run:
@@ -24,17 +24,17 @@ variables:
2424
source /opt/intel/bin/compilervars.sh -arch intel64 -platform linux
2525
fi
2626
EOF
27-
pipenv install --python /usr/bin/python3
27+
pipenv install --three
2828
report: &report
2929
run:
3030
name: Report
3131
command: |
3232
pipenv run python --version
33-
tests: &tests
33+
tests: &tests
3434
run:
3535
name: Testing
3636
shell: /bin/bash
37-
command: |
37+
command: |
3838
pipenv run python testing/collect_tests.py 'chapter-01/recipe-*' &&
3939
pipenv run python testing/collect_tests.py 'chapter-02/recipe-*' &&
4040
pipenv run python testing/collect_tests.py 'chapter-03/recipe-*' &&
@@ -52,7 +52,7 @@ variables:
5252
tests-conda: &tests-conda
5353
run:
5454
name: Testing Conda recipes
55-
shell: /bin/bash
55+
shell: /bin/bash
5656
command: |
5757
pipenv run python testing/collect_tests.py 'chapter-11/recipe-04' &&
5858
pipenv run python testing/collect_tests.py 'chapter-11/recipe-05'

chapter-03/recipe-02/c-example/menu.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@ appveyor-vs:
22
definitions:
33
- CMAKE_BUILD_TYPE: 'Release'
44
- CMAKE_CONFIGURATION_TYPES: 'Release'
5+
6+
# CMake cannot find the Python library
7+
circle-pgi:
8+
skip_generators:
9+
- 'Unix Makefiles'
10+
- 'Ninja'

chapter-03/recipe-03/cxx-example/menu.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@ appveyor-vs:
66
appveyor-msys:
77
definitions:
88
- CMAKE_CXX_FLAGS: '-D_hypot=hypot'
9+
10+
# CMake cannot find the Python library
11+
circle-pgi:
12+
skip_generators:
13+
- 'Unix Makefiles'
14+
- 'Ninja'

chapter-09/recipe-03/cxx-example/menu.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@ appveyor-msys:
1010
definitions:
1111
- CMAKE_BUILD_TYPE: 'Release'
1212
- CMAKE_CXX_FLAGS: '-D_hypot=hypot'
13+
14+
# CMake cannot find the Python library
15+
circle-pgi:
16+
skip_generators:
17+
- 'Unix Makefiles'
18+
- 'Ninja'

chapter-09/recipe-04/cxx-example/menu.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ appveyor-msys:
1818
- Boost_USE_STATIC_RUNTIME: 'ON'
1919
- CMAKE_CXX_FLAGS: '-D_hypot=hypot'
2020

21+
# CMake cannot find the Python library
22+
circle-pgi:
23+
skip_generators:
24+
- 'Unix Makefiles'
25+
- 'Ninja'
26+
2127
travis-osx:
2228
definitions:
2329
- BOOST_ROOT: '/usr/local/opt/boost@1.59'

0 commit comments

Comments
 (0)