Skip to content

Commit

Permalink
Merge pull request #3090 from E3SM-Project/bartgol/workflows/eamxx-mi…
Browse files Browse the repository at this point in the history
…nor-mods

Allow to generate ALL baselines at ones for eamxx
  • Loading branch information
bartgol authored Nov 4, 2024
2 parents 15602d7 + c2006e9 commit aef01e8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/eamxx-standalone-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ on:
# Manual run is used to bless
workflow_dispatch:
inputs:
jobs_list:
job_to_run:
description: 'Job to run'
required: true
type: choice
options:
- gcc-openmp
- gcc-cuda
- all
bless:
description: 'Generate baselines'
required: true
Expand All @@ -50,7 +51,9 @@ jobs:
fail-fast: false
matrix:
build_type: [sp, dbg, fpe, opt]
if: ${{ !(github.event_name == 'workflow_dispatch' && github.event.inputs.jobs_list != 'gcc-openmp') }}
if: ${{ !(github.event_name == 'workflow_dispatch' &&
github.event.inputs.jobs_list != 'gcc-openmp' &&
github.event.inputs.jobs_list != 'all') }}
name: gcc-openmp / ${{ matrix.build_type }}
steps:
- name: Check out the repository
Expand Down Expand Up @@ -93,7 +96,9 @@ jobs:
fail-fast: false
matrix:
build_type: [sp, dbg, opt]
if: ${{ !(github.event_name == 'workflow_dispatch' && github.event.inputs.jobs_list != 'gcc-cuda') }}
if: ${{ !(github.event_name == 'workflow_dispatch' &&
github.event.inputs.jobs_list != 'gcc-cuda' &&
github.event.inputs.jobs_list != 'all') }}
name: gcc-cuda / ${{ matrix.build_type }}
steps:
- name: Check out the repository
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/eamxx-v1-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ on:
# Manual run is used to bless
workflow_dispatch:
inputs:
jobs_list:
job_to_run:
description: 'Job to run'
required: true
type: choice
options:
- cpu-gcc
- all
bless:
description: 'Generate baselines'
required: true
Expand Down Expand Up @@ -54,7 +55,9 @@ jobs:
short_name: SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.scream-mam4xx-all_mam4xx_procs
fail-fast: false
name: cpu-gcc / ${{ matrix.test.short_name }}
if: ${{ !(github.event_name == 'workflow_dispatch' && github.event.inputs.jobs_list != 'cpu-gcc') }}
if: ${{ !(github.event_name == 'workflow_dispatch' &&
github.event.inputs.jobs_list != 'cpu-gcc' &&
github.event.inputs.jobs_list != 'all') }}
steps:
- name: Check out the repository
uses: actions/checkout@v4
Expand Down

0 comments on commit aef01e8

Please sign in to comment.