Skip to content

Commit

Permalink
Workflows: fix logic for eamxx jobs skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgol committed Nov 4, 2024
1 parent aef01e8 commit 26310ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/eamxx-standalone-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +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' &&
github.event.inputs.jobs_list != 'all') }}
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 @@ -96,9 +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' &&
github.event.inputs.jobs_list != 'all') }}
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
6 changes: 3 additions & 3 deletions .github/workflows/eamxx-v1-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +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' &&
github.event.inputs.jobs_list != 'all') }}
if: ${{ github.event_name != 'workflow_dispatch' ||
github.event.inputs.job_to_run == 'cpu-gcc' ||
github.event.inputs.job_to_run == 'all' }}
steps:
- name: Check out the repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 26310ce

Please sign in to comment.