Skip to content

Commit

Permalink
Merging develop into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightly Bot authored and cwsmith committed Mar 16, 2024
2 parents 73d55d1 + b32204c commit 88892c5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/comment_on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ jobs:
issues: write
pull-requests: write
runs-on: ubuntu-latest
if: >
github.event.workflow_run.event == 'issue_comment'
if: |
github.event.workflow_run.conclusion == 'success' ||
github.event.workflow_run.conclusion == 'failure'
steps:
- name: 'Download artifact'
uses: actions/download-artifact@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@ jobs:
# The type of runner that the job will run on
runs-on: self-hosted

if: ${{ github.event.issue.pull_request }}
if: |
github.event.issue.pull_request &&
contains(github.event.comment.body, '/runtests') &&
(github.event.comment.user.login == 'cwsmith')
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
with:
ref: refs/pull/${{ github.event.issue.number }}/head
submodules: recursive
path: 'core_${{ github.event.issue.number }}'

- name: build
id: build
if: contains(github.event.comment.body, '/runtests') && (github.event.comment.user.login == 'cwsmith')
id: build
shell: bash
run: |
set +e #avoid exiting when lua modules return non-zero on 'warning' messages
Expand All @@ -36,8 +39,9 @@ jobs:
module load zoltan/3.83-hap4ggo
module load cmake/3.26.3-2duxfcd
set -e
cmake -S ${{github.workspace}} \
-B ${{github.workspace}}/build \
cmake -S core_${{ github.event.issue.number }} \
-B ${RUNNER_TEMP}/build \
-DCMAKE_CXX_COMPILER=mpicxx \
-DCMAKE_C_COMPILER=mpicc \
-DCMAKE_VERBOSE_MAKEFILE=ON \
Expand All @@ -47,12 +51,12 @@ jobs:
-DSIM_PARASOLID=ON \
-DSIM_ACIS=ON \
-DSKIP_SIMMETRIX_VERSION_CHECK=ON \
-DMESHES=${{github.workspace}}/pumi-meshes \
-DMESHES=${{github.workspace}}/core_${{ github.event.issue.number }}/pumi-meshes \
-DIS_TESTING=ON \
-DSCOREC_CXX_WARNINGS=ON \
-DCMAKE_BUILD_TYPE=Release
cmake --build ${{github.workspace}}/build -j 4
ctest --test-dir ${{github.workspace}}/build --output-on-failure
cmake --build ${RUNNER_TEMP}/build -j 4
ctest --test-dir ${RUNNER_TEMP}/build --output-on-failure
- name: Save Result Link
if: ${{ !cancelled() }} #prepare report unless the job was cancelled
Expand Down

0 comments on commit 88892c5

Please sign in to comment.