Skip to content

Split Windows run into a separate job, specify compiler #55

Split Windows run into a separate job, specify compiler

Split Windows run into a separate job, specify compiler #55

Workflow file for this run

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
- 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