Skip to content

Add pyramidal_cell to the benchmarks #3012

Add pyramidal_cell to the benchmarks

Add pyramidal_cell to the benchmarks #3012

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, macos-14]
runs-on: ${{ matrix.os }}
steps:
- name: Make sure Xcode 14.2 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.2.app /Applications/Xcode.app
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
if: matrix.os == 'macos-12'
- name: Make sure Xcode 15.2 is used on macOS 13 as the default /Application/Xcode.app
shell: bash
run: |
sudo mv /Applications/Xcode.app /Applications/Xcode.app-
sudo ln -s /Applications/Xcode_15.2.app /Applications/Xcode.app
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
if: matrix.os == 'macos-13'
- name: Install dependencies
run: |
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
brew install libomp open-mpi python@3.9 wget cmake ninja qt@5 libgit2
- name: Checkout BioDynaMo
uses: actions/checkout@v4
with:
fetch-depth: 0
# - name: Cache Third Party Packages
# uses: actions/cache@v4
# 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