Merge branch 'master' into windows-standalone #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [ push, pull_request ] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
# Checks for standalone usage (without R) | |
ubuntu-standalone-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Compile standalone programs | |
run: cd standalone && make -f nii_info.make | |
- name: Test standalone programs | |
run: | | |
standalone/nii_info inst/extdata/example.nii.gz | |
standalone/nii2_info inst/extdata/example.nii.gz | |
# Standalone check on Windows | |
windows-standalone-check: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Compile standalone programs | |
run: cd standalone && make CXX=g++ | |
- name: Test standalone programs | |
run: | | |
standalone/nii_info inst/extdata/example.nii.gz | |
standalone/nii2_info inst/extdata/example.nii.gz |