From 9d63e76508686ac4f89158452b9b3eefad32d2bf Mon Sep 17 00:00:00 2001 From: Marco Donadoni Date: Wed, 18 Sep 2024 16:59:00 +0200 Subject: [PATCH] ci(snakemake-local-run): upgrade ROOT dependency (#73) --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f89c6c..a09a17f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -127,10 +127,16 @@ jobs: uses: reanahub/reana-github-actions/local-run@v1 with: commands: | + # Install ROOT dependencies + sudo apt-get update -y + sudo apt-get install binutils cmake dpkg-dev g++ gcc libssl-dev git libx11-dev libxext-dev libxft-dev libxpm-dev python3 libtbb-dev libvdt-dev libgif-dev + # Install ROOT - wget https://root.cern/download/root_v6.24.02.Linux-ubuntu20-x86_64-gcc9.3.tar.gz - tar -xzvf root_v6.24.02.Linux-ubuntu20-x86_64-gcc9.3.tar.gz + # ROOT is needed as Snakemake does not run the workflow steps in containers + wget https://root.cern/download/root_v6.32.04.Linux-ubuntu24.04-x86_64-gcc13.2.tar.gz + tar -xzvf root_v6.32.04.Linux-ubuntu24.04-x86_64-gcc13.2.tar.gz source root/bin/thisroot.sh + rm -rf snakemake-local-run && mkdir -p snakemake-local-run && cd snakemake-local-run pip install 'pulp<2.8' snakemake cp -a ../code .