Skip to content

Install and uninstall without user interaction #9

Install and uninstall without user interaction

Install and uninstall without user interaction #9

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:
fail-fast: false
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 -f
# 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 -f