Skip to content

Refactoring: Storage of Podio data #699

Refactoring: Storage of Podio data

Refactoring: Storage of Podio data #699

Workflow file for this run

name: C/C++ CI ubuntu
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
#os: [ubuntu-20.04, ubuntu-22.04]
os: [ubuntu-22.04]
# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on for available platforms
runs-on: ${{ matrix.os }}
# 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: deps
run: |
sudo apt-get update
sudo apt-get install -y libzmq3-dev libxerces-c-dev python3-dev
- name: cmake
run: |
mkdir -p $GITHUB_WORKSPACE/build
cd $GITHUB_WORKSPACE/build
cmake ../ -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/Linux \
-DUSE_PYTHON=ON \
-DUSE_ROOT=OFF \
-DUSE_XERCES=ON -DXercesC_DIR=/usr \
-DUSE_ZEROMQ=ON
- name: make
run: |
cd $GITHUB_WORKSPACE/build
make
- name: make install
run: |
cd $GITHUB_WORKSPACE/build
make install
- name: JTest
run: |
export JANA_PLUGIN_PATH=$GITHUB_WORKSPACE/Linux/plugins
echo "--- Running JTest plugin -----------------------"
ctest --test-dir build -R jana-plugin-jtest-tests
- name: jana-unit-tests
run: |
echo "--- Running jana-unit-tests ------------------------------"
ctest --test-dir build -R jana-unit-tests