Skip to content

"BOOST_LOG_DYN_LINK" redefined & BOOST_BIND_GLOBAL_PLACEHOLDERS issues resolved #226

"BOOST_LOG_DYN_LINK" redefined & BOOST_BIND_GLOBAL_PLACEHOLDERS issues resolved

"BOOST_LOG_DYN_LINK" redefined & BOOST_BIND_GLOBAL_PLACEHOLDERS issues resolved #226

Workflow file for this run

name: j-pet-continuous-integration-tests
on: [push, pull_request]
jobs:
build_and_run_all_tests_on_ubuntu:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04]
steps:
- uses: actions/checkout@v2
- name: system update
run: |
sudo apt-get -qq update
sudo apt-get install -y git libboost-all-dev libtbb-dev cmake nlohmann-json3-dev
- name: download ROOT (for ubuntu 22.04)
run: |
wget https://root.cern/download/root_v6.30.02.Linux-ubuntu22.04-x86_64-gcc11.4.tar.gz
tar xzf root_v6.30.02.Linux-ubuntu22.04-x86_64-gcc11.4.tar.gz
if: matrix.os == 'ubuntu-22.04'
- name: download ROOT (for ubuntu 20.04)
run: |
wget https://root.cern/download/root_v6.24.02.Linux-ubuntu20-x86_64-gcc9.3.tar.gz
tar xzf root_v6.24.02.Linux-ubuntu20-x86_64-gcc9.3.tar.gz
if: matrix.os == 'ubuntu-20.04'
- name: download ROOT (for ubuntu-18.04)
run: |
wget http://sphinx.if.uj.edu.pl/framework/root_v6.25.01.Linux-ubuntu18-x86_64-gcc7.5.tar.gz
tar xzf root_v6.25.01.Linux-ubuntu18-x86_64-gcc7.5.tar.gz
if: matrix.os == 'ubuntu-18.04'
- name: cmake
run: |
source root/bin/thisroot.sh
mkdir build
cd build
cmake ..
- name: make
run: |
source root/bin/thisroot.sh
cd build
make all tests -j4
- name: run tests
run: |
source root/bin/thisroot.sh
cd build
source bin/thisframework.sh
ctest -j6 -C Debug -T test --output-on-failure