Skip to content

Adding --dry-run flag #316

Adding --dry-run flag

Adding --dry-run flag #316

Workflow file for this run

name: linux
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
SETUP: ['/cvmfs/sw.hsf.org/key4hep/setup.sh', '/cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh']
steps:
- uses: actions/checkout@v2
- uses: cvmfs-contrib/github-action-cvmfs@v2
- name: Start container
run: |
docker run -it --name CI_container -v ${GITHUB_WORKSPACE}:/Package -v /cvmfs:/cvmfs:shared -d ghcr.io/aidasoft/centos7:latest /bin/bash
- name: RunTests
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.SETUP }};\
mkdir build;\
cd build;\
cmake ..;\
make;\
make test;
'