MIT FCC Full Sim tutorial cosmetics (#149) #306
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
' |