Skip to content

Merge pull request #387 from JeffersonLab/nbrei_gluex_fixes #767

Merge pull request #387 from JeffersonLab/nbrei_gluex_fixes

Merge pull request #387 from JeffersonLab/nbrei_gluex_fixes #767

Workflow file for this run

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