Skip to content

Commit

Permalink
Issue #85: Adding Catch2
Browse files Browse the repository at this point in the history
  • Loading branch information
mmodat committed Jul 28, 2022
1 parent c11788b commit 68b2420
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build_niftyreg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
git clone https://github.com/catchorg/Catch2.git
cd Catch2
cmake -Bbuild -H. -DBUILD_TESTING=OFF
cmake --build build/ --target install
sudo cmake --build build/ --target install
- name: build NiftyReg
- name: Configure NiftyReg
run: |
mkdir build
cd build
Expand All @@ -42,8 +42,14 @@ jobs:
-DUSE_OPENMP=${{ matrix.use_openmp }} \
-DBUILD_TESTING=ON \
..
cd ..
shell: bash

- name: Build NiftyReg
run: |
cd build
make
- name: Run tests
run: ctest -V
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion niftyreg_build_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
80
81

0 comments on commit 68b2420

Please sign in to comment.