Manually locating libvdt #15
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: C/C++ CI | |
on: | |
push: | |
branches: [ "main", "Liam-CI-test" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name : Install Dependencies | |
run: sudo apt-get install gfortran libpcre3-dev xlibmesa-glu-dev libglew-dev libftgl-dev libmysqlclient-dev libfftw3-dev libcfitsio-dev graphviz-dev libavahi-compat-libdnssd-dev libldap2-dev python3-dev python3-numpy libxml2-dev libkrb5-dev libgsl0-dev qtwebengine5-dev nlohmann-json3-dev; export LIAM=$PWD | |
- name: Install Geant4 | |
run: wget https://cern.ch/geant4-data/releases/lib4.10.7.p04/Linux-g++8.3.0-CC7.tar.gz; tar xzf Linux-g++8.3.0-CC7.tar.gz; export PATH=$PATH:$PWD/Geant4-10.7.4-Linux/bin/; export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/Geant4-10.7.4-Linux/lib64/ | |
- name: Install ROOT | |
run: wget https://root.cern/download/root_v6.30.02.Linux-ubuntu22.04-x86_64-gcc11.4.tar.gz; tar xzf root_v6.30.02.Linux-ubuntu22.04-x86_64-gcc11.4.tar.gz; source root/bin/thisroot.sh; export ROOT_DIR=$PWD/root/cmake; export CMAKE_MODULE_PATH=$PWD/root/cmake | |
- name: Install edep-sim | |
run: git clone https://github.com/ClarkMcGrew/edep-sim | |
- name: Install edep-sim2 | |
run: cd edep-sim; mkdir -p build; cd build; ls ../../; VDT_LIBRARY=$LIAM/root/lib/libvdt.so VDT_INCLUDE_DIR=$LIAM/root/include/vdt CMAKE_MODULE_PATH=$PWD/../../root/cmake ROOT_DIR=$PWD/../../root/cmake cmake ../ -LAH | |
- name: Install edep-sim3 | |
run: make; cd ../.. | |
- name: Clone TOML | |
run: git clone https://github.com/ToruNiina/toml11 | |
- name: make | |
run: make |