Install and uninstall without user interaction #9
Workflow file for this run
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
# 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 |