Trilinos Master Merge PR Generator: Auto PR created to promote from master_merge_20240405_175846 branch to master #33
Workflow file for this run
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
name: AT2-EXPERIMENTAL | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
pull_request_review: | |
types: | |
- submitted | |
branches: | |
- master | |
- develop | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
gcc10-openmpi416-EXPERIMENTAL: | |
runs-on: [self-hosted, gcc-10.3.0_openmpi-4.1.6] | |
if: ${{ github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED' }} | |
steps: | |
- name: env | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: | | |
env | |
- name: module list | |
shell: bash | |
run: | | |
bash -l -c "module list" | |
printenv PATH | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1 | |
with: | |
access_token: ${{ github.token }} | |
- name: make dirs | |
working-directory: / | |
run: | | |
mkdir -p /home/Trilinos/src/Trilinos | |
mkdir -p /home/Trilinos/build | |
- name: Clone trilinos | |
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | |
with: | |
fetch-depth: 0 | |
- name: Repo status | |
run: | | |
git fetch --all | |
pwd | |
ls -lhat | |
git status | |
git branch -vv | |
git branch -a | |
- name: get dependencies | |
working-directory: ./packages/framework | |
run: | | |
bash -l -c "./get_dependencies.sh --container" | |
- 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 --force --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}" | |
- name: Generate enable packages cmake fragment | |
working-directory: /home/Trilinos/build | |
run: | | |
bash -l -c "TRILINOS_DIR=${GITHUB_WORKSPACE} ${GITHUB_WORKSPACE}/commonTools/framework/get-changed-trilinos-packages.sh HEAD origin/develop package-enables.cmake ctest-labels.cmake" || bash -l -c "cat TribitsDumpDepsXmlScript.log" | |
- name: configure trilinos | |
working-directory: /home/Trilinos/build | |
run: | | |
bash -l -c "cmake -C PR-configuration.cmake -C package-enables.cmake ${GITHUB_WORKSPACE}" | |
- name: build trilinos | |
working-directory: /home/Trilinos/build | |
run: bash -l -c "ninja -j36" | |
- name: ctest | |
working-directory: /home/Trilinos/build | |
run: bash -l -c "ctest -j36" |