Skip to content

Commit

Permalink
Test commit to see if we can find TDR era inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Wallace committed Jan 27, 2025
1 parent 3534f31 commit 99af6f5
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/EventRates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
# Check if MaCh3 compiles correctly

name: Build CI

# The events that trigger the workflow
on:
pull_request:
branches: [ develop ]
push:
branches: [hwallace/feature/event_rate_bot]

permissions:
contents: read
packages: write

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false # KS: Prevents cancellation of remaining jobs if one fails
matrix:
include:
- os: Alma9
file: doc/MaCh3DockerFiles/Alma9/Dockerfile
tag: alma9latest
# - os: Rocky9
# file: doc/MaCh3DockerFiles/Rocky9/Dockerfile
# tag: rocky9latest

name: Build CI ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: cvmfs-contrib/github-action-cvmfs@v4


- name: Log in to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Build the Docker image
run: |
docker build . \
--file ${{ matrix.file }} \
--tag ghcr.io/dune/mach3:${{ matrix.tag }} \
--build-arg MACH3_DUNE_VERSION=${{ github.head_ref }}
- name: Run Event rates
run: |
ls /cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/MaCh3/inputs/TDR/v1

0 comments on commit 99af6f5

Please sign in to comment.