Skip to content

Commit

Permalink
Issue #85: Adding macos and win
Browse files Browse the repository at this point in the history
  • Loading branch information
mmodat committed Jul 28, 2022
1 parent df25df9 commit bdf28ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_niftyreg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: lukka/get-cmake@latest

- name: Install Catch2
if: matrix.os != "windows-2022"
if: matrix.os != 'windows-2022'
run: |
git clone https://github.com/catchorg/Catch2.git
cd Catch2
Expand All @@ -43,7 +43,7 @@ jobs:
shell: bash

- name: Install Catch2
if: matrix.os == "windows-2022"
if: matrix.os == 'windows-2022'
run: |
call "${{ matrix.vcvars64 }}"
git clone https://github.com/catchorg/Catch2.git
Expand All @@ -53,7 +53,7 @@ jobs:
shell: cmd

- name: Configure NiftyReg
if: matrix.os != "windows-2022"
if: matrix.os != 'windows-2022'
run: |
mkdir build
cd build
Expand Down Expand Up @@ -88,24 +88,24 @@ jobs:
shell: cmd

- name: Build NiftyReg
if: matrix.os != "windows-2022"
if: matrix.os != 'windows-2022'
run: make
shell: bash

- name: Build NiftyReg
if: matrix.os == "windows-2022"
if: matrix.os == 'windows-2022'
run: make
shell: cmd

- name: Run tests
if: matrix.os != "windows-2022"
if: matrix.os != 'windows-2022'
run: |
call "${{ matrix.vcvars64 }}"
ctest -V
shell: bash

- name: Run tests
if: matrix.os == "windows-2022"
if: matrix.os == 'windows-2022'
run: |
call "${{ matrix.vcvars64 }}"
ctest -V
Expand Down
2 changes: 1 addition & 1 deletion niftyreg_build_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
82
83

0 comments on commit bdf28ff

Please sign in to comment.