Skip to content

Readme

Readme #6

Workflow file for this run

name: CMake
on:
push:
branches: [ master, actions ]
pull_request:
branches: [ master ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
permissions:
id-token: write
contents: read # This is required for actions/checkout@v2
jobs:
build_fedora35_root_6_24_cpp17:
container: rootproject/root:6.24.06-fedora35
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DPID_BUNDLED_AT=ON -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_STANDARD=17
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
run: cd ${{github.workspace}}/build && ctest -C ${{env.BUILD_TYPE}}
build_fedora34_root_6_22_cpp17:
container: rootproject/root:6.22.08-fedora34
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DPID_BUNDLED_AT=ON -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_STANDARD=17
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
run: cd ${{github.workspace}}/build && ctest -C ${{env.BUILD_TYPE}}
# build_ubuntu20_root_6_20_cpp11:
# container: rootproject/root:6.20.08-ubuntu20.04
# runs-on: ubuntu-latest
# env:
# BOOSTROOT: /opt/boost_1_75_0/
# BOOST_ROOT: /opt/boost_1_75_0/
# steps:
# - name: Install git
# run: apt-get update && apt-get install -y git
# - uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - name: Get boost
# run: wget -O /opt/boost_1_75_0.tar.gz https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz/download && tar -xf /opt/boost_1_75_0.tar.gz -C /opt/
# - name: Configure CMake
# run: cmake -B ${{github.workspace}}/build -DPID_BUNDLED_AT=ON -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_STANDARD=11 -DBOOSTROOT=/opt/boost_1_75_0/
# - name: Build
# run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
# - name: Test
# run: cd ${{github.workspace}}/build && ctest -C ${{env.BUILD_TYPE}}