Skip to content

Commit fb336e6

Browse files
committed
ENH: Update of the CircleCI script
Following the commit on itkModuleTTemplate by Mat McCormick: InsightSoftwareConsortium/ITKModuleTemplate@d1f9a3d This commit: - Allow the usage of CircleCI2.0 - Run the test on itkTextureFeature module
1 parent 5753787 commit fb336e6

File tree

2 files changed

+49
-14
lines changed

2 files changed

+49
-14
lines changed

.circleci/config.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
version: 2
2+
jobs:
3+
build-and-test:
4+
working_directory: ~/ITKTextureFeatures-build
5+
docker:
6+
- image: insighttoolkit/module-ci:latest
7+
steps:
8+
- checkout:
9+
path: ~/ITKTextureFeatures
10+
- run:
11+
name: Configure
12+
command: |
13+
cmake \
14+
-DITK_DIR:PATH=/ITK-build \
15+
-DBUILD_TESTING:BOOL=ON \
16+
-DBUILDNAME:STRING=External-ITKTextureFeatures-${CIRCLE_BRANCH}-${CIRCLE_BUILD_NUM} \
17+
~/ITKTextureFeatures
18+
- run:
19+
name: Build and Test
20+
no_output_timeout: 1.0h
21+
environment:
22+
CTEST_BUILD_FLAGS: "-j5"
23+
command: |
24+
ctest -j 2 -VV -D Experimental
25+
package:
26+
working_directory: ~/ITKTextureFeatures
27+
machine: true
28+
steps:
29+
- checkout
30+
- run:
31+
name: Fetch build script
32+
command: |
33+
curl -L https://rawgit.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/dockcross-manylinux-download-cache-and-build-module-wheels.sh -O
34+
chmod u+x dockcross-manylinux-download-cache-and-build-module-wheels.sh
35+
- run:
36+
name: Build Python packages
37+
no_output_timeout: 1.0h
38+
command: |
39+
./dockcross-manylinux-download-cache-and-build-module-wheels.sh
40+
- store_artifacts:
41+
path: dist
42+
destination: dist
43+
44+
workflows:
45+
version: 2
46+
build-test-package:
47+
jobs:
48+
- build-and-test
49+
- package

circle.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)