test env load #12
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
on: | |
push: | |
branches: | |
- 'self-hosted-test' | |
jobs: | |
testing: | |
# strategy: | |
# fail-fast: false | |
runs-on: self-hosted | |
container: | |
image: registry.cern.ch/ship/gha-runner:latest | |
volumes: | |
- /cvmfs/ship.cern.ch:/cvmfs/ship.cern.ch | |
- /eos/experiment/ship:/eos/experiment/ship | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Source and Build | |
run: | | |
source /cvmfs/ship.cern.ch/24.10/setUp.sh | |
aliBuild build FairShip --always-prefer-system --config-dir $SHIPDIST --defaults release --jobs 4 | |
- name: Load env and test | |
run: | | |
source /cvmfs/ship.cern.ch/24.10/setUp.sh | |
# alienv enter FairShip/latest | |
eval `alienv load FairShip/latest --no-refresh` | |
echo "FAIRSHIP env is set to" $FAIRSHIP | |
# - name: Run sim | |
# run: | | |
# source /cvmfs/ship.cern.ch/24.10/setUp.sh | |
# alienv enter FairShip/latest | |
# python $FAIRSHIP/macro/run_simScript.py |