Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore EKAT nightly testing #6983

Merged
merged 1 commit into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/actions/test-all-scream/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,14 @@ runs:
cmd="./scripts/test-all-scream -m ${{ inputs.machine }} -t ${{inputs.build_type}} --baseline-dir AUTO -c EKAT_DISABLE_TPL_WARNINGS=ON"
if [ "${{ inputs.generate }}" = "true" ]; then
cmd+=" -g"
elif [ "${{ inputs.submit }}" = "true" ]; then
elif [ "${{ inputs.submit }}" = "true" ]; then
cmd+=" -s"
fi

if [ "${{ inputs.ekat }}" = "true" ]; then
cmd+= " -c EKAT_ENABLE_TESTS=ON"
fi

# If cmake-configs is non-empty, add tokens to test-all-scream via "-c key=val"
IFS=';' read -ra configs <<< "${{ inputs.cmake-configs }}"
for config in "${configs[@]}"; do
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/eamxx-sa-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,16 @@ env:
# Submit to cdash only for nightlies or if the user explicitly forced a submission via workflow dispatch
submit: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.submit) }}
generate: ${{ github.event_name == 'workflow_dispatch' && inputs.bless }}
# Do EKAT testing for nightlies or (TODO: if EKAT label is present)
ekat: ${{ github.event_name == 'schedule' }}

jobs:
gcc-openmp:
if: |
${{
github.event_name != 'workflow_dispatch' ||
(
github.event.inputs.job_to_run == 'gcc-openmp' ||
github.event.inputs.job_to_run == 'gcc-openmp' ||
github.event.inputs.job_to_run == 'all'
)
}}
Expand All @@ -88,12 +90,13 @@ jobs:
generate: ${{ env.generate }}
submit: ${{ env.submit }}
cmake-configs: Kokkos_ENABLE_OPENMP=ON
ekat: ${{ env.ekat }}
gcc-cuda:
if: |
${{
github.event_name != 'workflow_dispatch' ||
(
github.event.inputs.job_to_run == 'gcc-cuda' ||
github.event.inputs.job_to_run == 'gcc-cuda' ||
github.event.inputs.job_to_run == 'all'
)
}}
Expand Down Expand Up @@ -149,3 +152,4 @@ jobs:
generate: ${{ env.generate }}
submit: ${{ env.submit }}
cmake-configs: Kokkos_ARCH_HOPPER90=${{ env.Hopper }};Kokkos_ARCH_AMPERE80=${{ env.Ampere }};Kokkos_ARCH_VOLTA70=${{ env.Volta }};CMAKE_CUDA_ARCHITECTURES=${{ env.CUDA_ARCH }}
ekat: ${{ env.ekat }}
Loading