forked from trilinos/Trilinos
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 965 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@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