-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI workflows for running the 3 ttbar events tests (#145)
* Add jobs for marlin and gaudi * Limit the number of workflows that are in flight per branch * Run only on master branch pushes
- Loading branch information
Showing
1 changed file
with
87 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
name: smoke-tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
marlin-std-reco: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
detector_model: [ILD_l5_o1_v02] | ||
key4hep_build: [sw.hsf.org, sw-nightlies.hsf.org] | ||
os: [ubuntu2204, el9] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cvmfs-contrib/github-action-cvmfs@v4 | ||
- uses: aidasoft/run-lcg-view@v4 | ||
with: | ||
container: ${{ matrix.os }} | ||
view-path: /cvmfs/${{ matrix.key4hep_build }}/key4hep | ||
run: | | ||
echo "::group::Run Simulation" | ||
cd StandardConfig/production | ||
ddsim --inputFiles Examples/bbudsc_3evt/bbudsc_3evt.stdhep \ | ||
--outputFile bbudsc_3evt_SIM.slcio \ | ||
--compactFile $lcgeo_DIR/ILD/compact/${{ matrix.detector_model }}/${{ matrix.detector_model }}.xml \ | ||
--steeringFile ddsim_steer.py | ||
echo "::endgroup::" | ||
echo "::group::Run Reconstruction" | ||
Marlin MarlinStdReco.xml \ | ||
--constant.lcgeo_DIR=$lcgeo_DIR \ | ||
--constant.DetectorModel=${{ matrix.detector_model }} \ | ||
--constant.OutputBaseName=bbudsc_3evt \ | ||
--global.LCIOInputFiles=bbudsc_3evt_SIM.slcio | ||
echo "::endgroup::" | ||
echo "::group::Run LCTuple" | ||
Marlin MarlinStdRecoLCTuple.xml \ | ||
--global.LCIOInputFiles=bbudsc_3evt_DST.slcio \ | ||
--MyAIDAProcessor.FileName=bbudsc_3evt_LCTuple | ||
echo "::endgroup::" | ||
echo "::group::Run MiniDST production" | ||
Marlin MarlinStdRecoMiniDST.xml \ | ||
--global.LCIOInputFiles=bbudsc_3evt_DST.slcio \ | ||
--constant.OutputFile=bbudsc_3evt_miniDST.slcio \ | ||
--constant.lcgeo_DIR=$lcgeo_DIR | ||
echo "::endgroup::" | ||
# Reconstruction using EDM4hep inputs and outputs | ||
gaudi-std-reco: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
detector_model: [ILD_l5_o1_v02] | ||
key4hep_build: [sw.hsf.org, sw-nightlies.hsf.org] | ||
os: [ubuntu2204, el9] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cvmfs-contrib/github-action-cvmfs@v4 | ||
- uses: aidasoft/run-lcg-view@v4 | ||
with: | ||
container: ${{ matrix.os }} | ||
view-path: /cvmfs/${{ matrix.key4hep_build }}/key4hep | ||
run: | | ||
echo "::group::Run simulation" | ||
cd StandardConfig/production | ||
ddsim --inputFiles Examples/bbudsc_3evt/bbudsc_3evt.stdhep \ | ||
--outputFile bbudsc_3evt_SIM.edm4hep.root \ | ||
--compactFile $lcgeo_DIR/ILD/compact/${{ matrix.detector_model }}/${{ matrix.detector_model }}.xml \ | ||
--steeringFile ddsim_steer.py | ||
echo "::endgroup::" | ||
echo "::group::Run reconstruction" | ||
k4run ILDReconstruction.py \ | ||
--inputFiles=bbudsc_3evt_SIM.edm4hep.root \ | ||
--outputFileBase=bbudsc_3evt_GaudiRec \ | ||
--detectorModel=${{ matrix.detector_model }} |