-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test commit to see if we can find TDR era inputs
- Loading branch information
Henry Wallace
committed
Jan 27, 2025
1 parent
3534f31
commit 99af6f5
Showing
1 changed file
with
52 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,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 | ||