Refactoring: Storage of Podio data #729
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
name: C/C++ CI macOS-latest | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: macOS-latest | |
# Run cmake, make, and make install as separate steps | |
# Note that every step starts out in the $GITHUB_WORKSPACE | |
# directory. | |
steps: | |
- uses: actions/checkout@v3 | |
- name: cmake | |
run: | | |
mkdir -p $GITHUB_WORKSPACE/build | |
cd $GITHUB_WORKSPACE/build | |
cmake ../ -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/Darwin -DUSE_ROOT=Off | |
- name: make | |
run: | | |
cd $GITHUB_WORKSPACE/build | |
make | |
- name: make install | |
run: | | |
cd $GITHUB_WORKSPACE/build | |
make install | |
- name: run tests | |
run: | | |
export JANA_PLUGIN_PATH=$GITHUB_WORKSPACE/Darwin/plugins | |
echo "--- Running JTest plugin -----------------------" | |
$GITHUB_WORKSPACE/Darwin/bin/jana -PPLUGINS=JTest -Pjana:nevents=100 | |
echo "--- Running jana-unit-tests ------------------------------" | |
$GITHUB_WORKSPACE/Darwin/bin/jana-unit-tests |