#!/bin/bash | |
set -e # Fail on any error. | |
set -x # Display commands being run. | |
cd github/marl | |
git submodule update --init | |
mkdir build | |
cd build | |
cmake .. -DMARL_BUILD_EXAMPLES=1 -DMARL_BUILD_TESTS=1 -DMARL_WARNINGS_AS_ERRORS=1 | |
make -j$(sysctl -n hw.logicalcpu) | |
./marl-unittests | |
./fractal |