-
Notifications
You must be signed in to change notification settings - Fork 572
36 lines (34 loc) · 1.08 KB
/
spack.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: spack
on:
pull_request:
types:
- opened
- synchronize
pull_request_review:
types:
- submitted
workflow_dispatch:
permissions:
contents: read
jobs:
gcc10-openmpi416:
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
runs-on: [self-hosted, gcc-10.3.0_openmpi-4.1.6]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # 0.11.0
with:
access_token: ${{ github.token }}
- name: Clone Trilinos
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
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