Skip to content

[pre-commit.ci] pre-commit autoupdate #263

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #263

---
name: ROOT interface
on:
push:
branches: [main]
pull_request:
env:
BUILD_TYPE: Release
jobs:
Root:
runs-on: ubuntu-latest
strategy:
fail-fast: false
container: ghcr.io/flagarde/ci_bak-archlinux-gcc-default-x86_64:main
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install ROOT
run: pacman -Syu --noconfirm ; pacman -S --noconfirm git root
- name: Setup CMake
uses: jwlawson/[email protected]
with:
cmake-version: 3.23.x
github-api-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Ninja
uses: seanmiddleditch/gha-setup-ninja@v4
- name: 🔧 Configure
run: cmake -G Ninja -S . -B ./build -DCMAKE_BUILD_TYPE=Release -DBUILD_ROOT_INTERFACE=ON -DBUILD_LCIO_INTERFACE=OFF -DBUILD_RAWDATA_INTERFACE=ON
- name: ⚙️ Build
run: cmake --build ./build --config Release --parallel 2
- name: Install
run: cmake --install build
- name: Test
run: ctest -C Debug -VV
working-directory: ./build