-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into develop
- Loading branch information
Showing
5,420 changed files
with
3,212,053 additions
and
511,420 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: PR-gcc-openmpi | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- labeled | ||
- opened | ||
- synchronize | ||
branches: | ||
- master | ||
- develop | ||
workflow_dispatch: | ||
|
||
jobs: | ||
trilogpu02-gcc: | ||
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 | ||
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/[email protected] | ||
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@v4 | ||
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 --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: 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" | ||
- name: ctest | ||
working-directory: /home/Trilinos/build | ||
run: bash -l -c "ctest -j36" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Check for git LFS pointers | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Search for oids in modified lines | ||
run: | | ||
$GITHUB_WORKSPACE/commonTools/test/utilities/check-lfs-oids.sh \ | ||
origin/${{ github.event.pull_request.base.ref }} \ | ||
${{ github.event.pull_request.head.sha }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Check MPI_COMM_WORLD | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Search for MPI_COMM_WORLD in modified lines | ||
run: | | ||
python $GITHUB_WORKSPACE/commonTools/test/utilities/check-mpi-comm-world-usage.py \ | ||
--base origin/${{ github.event.pull_request.base.ref }} \ | ||
--head ${{ github.event.pull_request.head.sha }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,10 +13,33 @@ permissions: | |
jobs: | ||
assign_one_project: | ||
permissions: | ||
issues: write # for actions/github-script@v6 | ||
repository-projects: write # for srggrs/assign-one-project-github-action to assign issues and PRs to repo project | ||
name: Assign to MueLu or Tpetra Project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Add MueLu Label | ||
uses: actions/github-script@v6 | ||
if: contains(github.event.issue.title, 'MueLu') | ||
with: | ||
script: | | ||
github.rest.issues.addLabels({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
labels: ["pkg: MueLu"] | ||
}) | ||
- name: Add Tpetra Label | ||
uses: actions/github-script@v6 | ||
if: contains(github.event.issue.title, 'Tpetra') | ||
with: | ||
script: | | ||
github.rest.issues.addLabels({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
labels: ["pkg: Tpetra"] | ||
}) | ||
- name: Add to MueLu Project | ||
uses: srggrs/[email protected] | ||
if: contains(github.event.label.name, 'MueLu') || contains(github.event.issue.title, 'MueLu') | ||
|
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
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
Oops, something went wrong.