Cleaning up my messy debug outputs and checks #3
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: spack | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
branches: | |
- master | |
- develop | |
workflow_dispatch: | |
# Cancels any in progress 'workflow' associated with this PR | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
gcc10-openmpi416: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
runs-on: [self-hosted, gcc-10.3.0_openmpi-4.1.6] | |
steps: | |
- name: Clone Trilinos | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
with: | |
fetch-depth: 1 | |
- name: Spack build | |
shell: bash -l {0} | |
run: | | |
spack develop --no-clone --path $GITHUB_WORKSPACE trilinos@develop | |
spack add trilinos@develop | |
spack concretize -f | |
spack install --cdash-upload-url=https://sems-cdash-son.sandia.gov/cdash/submit.php?project=Trilinos -j16 |