Skip to content

Commit 86e91ae

Browse files
authored
Merge pull request #205 from InsightSoftwareConsortium/nbmake-ci
2 parents b6d161a + 84a8bc8 commit 86e91ae

File tree

2 files changed

+124
-91
lines changed

2 files changed

+124
-91
lines changed

.github/workflows/build-test.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,47 @@ jobs:
250250
ctest -j 2 -VV -S dashboard.cmake
251251
shell: cmd
252252

253+
build-test-notebooks:
254+
runs-on: ${{ matrix.os }}
255+
strategy:
256+
max-parallel: 3
257+
matrix:
258+
os: [ubuntu-18.04, windows-2019, macos-10.15]
259+
include:
260+
- os: ubuntu-18.04
261+
c-compiler: "gcc"
262+
cxx-compiler: "g++"
263+
itk-git-tag: "v5.2rc02"
264+
cmake-build-type: "MinSizeRel"
265+
- os: windows-2019
266+
c-compiler: "cl.exe"
267+
cxx-compiler: "cl.exe"
268+
itk-git-tag: "v5.2rc02"
269+
cmake-build-type: "Release"
270+
- os: macos-10.15
271+
c-compiler: "clang"
272+
cxx-compiler: "clang++"
273+
itk-git-tag: "v5.2rc02"
274+
cmake-build-type: "MinSizeRel"
275+
276+
steps:
277+
- uses: actions/checkout@v1
278+
- name: Set up Python 3.7
279+
uses: actions/setup-python@v1
280+
with:
281+
python-version: 3.7
282+
283+
- name: Install build dependencies
284+
run: |
285+
python -m pip install --upgrade pip
286+
python -m pip install ninja
287+
python -m pip install itk==5.2rc02
288+
python -m pip install matplotlib
289+
python -m pip install itkwidgets
290+
291+
- name: Test notebooks
292+
uses: treebeardtech/nbmake-action@v0.2.1
293+
253294
build-test-documentation:
254295
runs-on: ${{ matrix.os }}
255296
strategy:

src/Registration/Common/MutualInformation/MutualInformation.ipynb

Lines changed: 83 additions & 91 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)