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

Framework: GCC-10 Autotester2 github actions build #12845

Merged
merged 14 commits into from
Apr 3, 2024
Merged
26 changes: 9 additions & 17 deletions .github/workflows/PR-gcc-openmpi.yml → .github/workflows/AT2.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: PR-gcc-openmpi
name: AT2-EXPERIMENTAL

on:
pull_request:
types:
- labeled
- opened
- synchronize
pull_request_review:
types:
- submitted
branches:
- master
- develop
Expand All @@ -15,14 +17,9 @@ permissions:
contents: read

jobs:
trilogpu02-gcc:
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
runs-on: [self-hosted, trilogpu02]
container:
image: registry-ex.sandia.gov/trilinos-project/trilinos-containers/rhel8/trilinos-pr-env:gcc-8.5.0
options: --hostname trilinos-container-gcc-8
gcc10-openmpi416-EXPERIMENTAL:
runs-on: [self-hosted, triloamd02]
sebrowne marked this conversation as resolved.
Show resolved Hide resolved
if: ${{ github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED' }}
steps:
- name: env
env:
Expand Down Expand Up @@ -62,7 +59,7 @@ jobs:
- name: Generate PR cmake fragment
working-directory: /home/Trilinos/build
run: |
bash -l -c "source ${GITHUB_WORKSPACE}/packages/framework/GenConfig/gen-config.sh rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}"
bash -l -c "source ${GITHUB_WORKSPACE}/packages/framework/GenConfig/gen-config.sh rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables --force --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}"
- name: Generate enable packages cmake fragment
working-directory: /home/Trilinos/build
run: |
Expand All @@ -71,14 +68,9 @@ jobs:
working-directory: /home/Trilinos/build
run: |
bash -l -c "cmake -C PR-configuration.cmake -C package-enables.cmake ${GITHUB_WORKSPACE}"
- name: CMakeCache.txt
if: always()
working-directory: /home/Trilinos/build
run: |
bash -l -c "cat CMakeCache.txt"
- name: build trilinos
working-directory: /home/Trilinos/build
run: bash -l -c "ninja"
run: bash -l -c "ninja -j36"
- name: ctest
working-directory: /home/Trilinos/build
run: bash -l -c "ctest -j36"
6 changes: 6 additions & 0 deletions commonTools/framework/ProjectCiFileChangeLogic.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ def isGlobalBuildFileRequiringGlobalRebuild(self, modifiedFileFullPath):
# Changes under packages/framework/ likely impact the GenConfig PR build
# configurations and therefore to be safe, everything needs to be tested.
return True
elif lenPathArray >= 2 and modifiedFileFullPathArray[0] == '.github' and \
modifiedFileFullPathArray[1] == 'workflows' \
:
# Changes under .github/workflows/ impact CI-type runs on GitHub Actions
# and therefore to be safe, everything needs to be tested.
return True
# Any other files not already covered above should *not* trigger a global
# build
return False
3 changes: 3 additions & 0 deletions commonTools/framework/ProjectCiFileChangeLogic_UnitTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ def test_packages_something(self):
def test_packages_framework(self):
self.check('packages/framework/something', True)

def test_dotgithub_workflows(self):
self.check('.github/workflows/something', True)
sebrowne marked this conversation as resolved.
Show resolved Hide resolved


if __name__ == '__main__':
unittest.main()
1 change: 1 addition & 0 deletions packages/framework/ini-files/config-specs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2816,6 +2816,7 @@ opt-set-cmake-var ROL_example_PDE-OPT_navier-stokes_example_01_MPI_4_DISABLE
opt-set-cmake-var Pliris_vector_random_MPI_3_DISABLE BOOL : ON
opt-set-cmake-var Pliris_vector_random_MPI_4_DISABLE BOOL : ON

opt-set-cmake-var Zoltan_ch_7944_parmetis_parallel_DISABLE BOOL : ON
bartlettroscoe marked this conversation as resolved.
Show resolved Hide resolved
opt-set-cmake-var Zoltan_ch_simple_parmetis_parallel_DISABLE BOOL : ON
opt-set-cmake-var Belos_bl_gmres_complex_hb_3_MPI_4_DISABLE BOOL : ON
opt-set-cmake-var Belos_hybrid_gmres_complex_hb_0_MPI_4_DISABLE BOOL : ON
Expand Down