Skip to content

Fix #315: JTest uses a flawed RNG setup #675

Fix #315: JTest uses a flawed RNG setup

Fix #315: JTest uses a flawed RNG setup #675

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