Skip to content

Add links to error message #2687

Add links to error message

Add links to error message #2687

Workflow file for this run

name: macOS CI
on:
push:
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
os: [macos-12, macos-13]
runs-on: ${{ matrix.os }}
steps:
- name: Make sure Xcode 14.1 is used on macOS 12 as the default /Application/Xcode.app
shell: bash
run: |
sudo mv /Applications/Xcode.app /Applications/Xcode.app-
sudo ln -s /Applications/Xcode_14.1.app /Applications/Xcode.app
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
if: matrix.os == 'macos-12'
- name: Make sure Xcode 13.1 is used on macOS 11 as the default /Application/Xcode.app
shell: bash
run: |
sudo mv /Applications/Xcode.app /Applications/Xcode.app-
sudo ln -s /Applications/Xcode_13.1.app /Applications/Xcode.app
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
if: matrix.os == 'macos-11'
- name: Install dependencies
run: |
brew install libomp open-mpi [email protected] wget cmake ninja qt@5 libgit2
- name: Checkout BioDynaMo
uses: actions/checkout@v3
with:
fetch-depth: 0
# - name: Cache Third Party Packages
# uses: actions/cache@v2
# with:
# path: build/third_party
# key: ${{ runner.os }}-third-party-${{ hashFiles('cmake/external/SHA256Digests.cmake') }}
- name: Build BioDynaMo
shell: bash
run: |
cmake -G Ninja \
-Dopencl=OFF \
-Dparaview=ON \
-Dbenchmark=ON \
-Dlibgit2=ON \
-DCMAKE_BUILD_TYPE=Release \
-B build
cmake --build build --parallel --config Release
- name: Unit tests BioDynaMo
shell: bash
working-directory: build
run: |
. bin/thisbdm.sh
root --version
root -config
bdm config
ninja run-unit-tests