|
74 | 74 | - name: ctest
|
75 | 75 | working-directory: /home/Trilinos/build
|
76 | 76 | run: bash -l -c "ctest -j16"
|
| 77 | + |
| 78 | + gcc830-serial-EXPERIMENTAL: |
| 79 | + runs-on: [self-hosted, gcc-8.3.0_serial] |
| 80 | + if: ${{ github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED' }} |
| 81 | + steps: |
| 82 | + - name: env |
| 83 | + env: |
| 84 | + GITHUB_CONTEXT: ${{ toJson(github) }} |
| 85 | + run: | |
| 86 | + env |
| 87 | + - name: module list |
| 88 | + shell: bash |
| 89 | + run: | |
| 90 | + bash -l -c "module list" |
| 91 | + printenv PATH |
| 92 | + - name: Cancel Previous Runs |
| 93 | + uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1 |
| 94 | + with: |
| 95 | + access_token: ${{ github.token }} |
| 96 | + - name: make dirs |
| 97 | + working-directory: / |
| 98 | + run: | |
| 99 | + mkdir -p /home/Trilinos/src/Trilinos |
| 100 | + mkdir -p /home/Trilinos/build |
| 101 | + - name: Clone trilinos |
| 102 | + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 |
| 103 | + with: |
| 104 | + fetch-depth: 0 |
| 105 | + - name: Repo status |
| 106 | + run: | |
| 107 | + git fetch --all |
| 108 | + pwd |
| 109 | + ls -lhat |
| 110 | + git status |
| 111 | + git branch -vv |
| 112 | + git branch -a |
| 113 | + - name: get dependencies |
| 114 | + working-directory: ./packages/framework |
| 115 | + run: | |
| 116 | + bash -l -c "./get_dependencies.sh --container" |
| 117 | + - name: Generate PR cmake fragment |
| 118 | + working-directory: /home/Trilinos/build |
| 119 | + run: | |
| 120 | + bash -l -c "source ${GITHUB_WORKSPACE}/packages/framework/GenConfig/gen-config.sh rhel8_gcc-serial_release-debug_shared_no-kokkos-arch_no-asan_no-complex_no-fpic_no-mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables --force --cmake-fragment PR-configuration.cmake ${GITHUB_WORKSPACE}" |
| 121 | + - name: Generate enable packages cmake fragment |
| 122 | + working-directory: /home/Trilinos/build |
| 123 | + run: | |
| 124 | + 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" |
| 125 | + - name: configure trilinos |
| 126 | + working-directory: /home/Trilinos/build |
| 127 | + run: | |
| 128 | + bash -l -c "cmake -C PR-configuration.cmake -C package-enables.cmake ${GITHUB_WORKSPACE}" |
| 129 | + - name: build trilinos |
| 130 | + working-directory: /home/Trilinos/build |
| 131 | + run: bash -l -c "ninja -j16" |
| 132 | + - name: ctest |
| 133 | + working-directory: /home/Trilinos/build |
| 134 | + run: bash -l -c "ctest -j16" |
| 135 | + |
0 commit comments