Skip to content

Fcc software

Fcc software #337

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
STACK: ['/cvmfs/sw.hsf.org/key4hep/setup.sh',
'/cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh']
steps:
- uses: actions/checkout@v4
- uses: cvmfs-contrib/github-action-cvmfs@v4
- name: Start container
run: |
docker run -it \
--name CI_container \
-v ${GITHUB_WORKSPACE}:/Package \
-v /cvmfs:/cvmfs:shared \
-d ghcr.io/key4hep/key4hep-images/alma9:latest /bin/bash
- name: Run tests
run: |
docker exec CI_container /bin/bash -c \
'curl -LO https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-linux-amd64.tar.gz;\
tar -xzf pandoc-2.18-linux-amd64.tar.gz;\
cp pandoc-2.18/bin/pandoc /usr/local/bin/;\
cd ./Package;\
source ${{ matrix.STACK }};\
mkdir build;\
cd build;\
cmake ..;\
make;\
make test;
'