BOOST warnings issue resolved #219
Workflow file for this run
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: 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 | |
- name: download ROOT (for ubuntu 22.04) | |
run: | | |
wget https://root.cern/download/root_v6.26.02.Linux-ubuntu22-x86_64-gcc11.2.tar.gz | |
tar xzf root_v6.26.02.Linux-ubuntu22-x86_64-gcc11.2.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-6-20-06-ubuntu18-jpet.tar.gz | |
tar xzf root-6-20-06-ubuntu18-jpet.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 |