forked from JCSDA/spack-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 957 Bytes
/
ubuntu-gcc.yaml
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
37
38
39
40
41
42
43
name: ubuntu-gcc-build
on:
pull_request:
paths-ignore:
- 'doc/**'
- '**.md'
- '.github/ISSUE_TEMPLATE/*'
- '.gitignore'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
# Use custom shell with -l so .bash_profile is sourced
defaults:
run:
shell: bash -leo pipefail {0}
jobs:
build:
strategy:
matrix:
template: [skylab-dev, ufs-weather-model, ufs-srw-dev]
spec: ['']
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
submodules: true
- name: install-env
uses: ./.github/actions/setup-spack-stack
with:
templates: ${{ matrix.template }}
specs: ${{ matrix.spec }}
compiler: gcc@9
mpi: mpich
path: ${{ github.workspace }}
site: linux.default