-
Notifications
You must be signed in to change notification settings - Fork 571
36 lines (33 loc) · 971 Bytes
/
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
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
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