Skip to content

Run on pull requests #5

Run on pull requests

Run on pull requests #5

Workflow file for this run

# A Github workflow to test mac binaries
name: Test Mac Binaries
on:
push:
workflow_dispatch:
pull_request:
jobs:
build-and-run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, macos-12, macos-11]
steps:
- name: Run Installer
run: |
wget https://raw.githubusercontent.com/MRtrix3/macos-installer/master/install
chmod +x install
sudo ./install
# Test mrinfo (exit after 10 seconds)
- name: Test mrinfo
run: |
mrinfo
- name: Test mrview
run: |
export QT_QPA_PLATFORM=offscreen
mrview
- name: Test dwifslpreproc
run: |
dwifslpreproc
- name: Run uninstaller
run: |
wget https://raw.githubusercontent.com/MRtrix3/macos-installer/master/uninstall
chmod +x uninstall
sudo ./uninstall