-
Notifications
You must be signed in to change notification settings - Fork 5
44 lines (37 loc) · 936 Bytes
/
dev.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
37
38
39
40
41
42
43
44
name: Development
on:
push:
branches: ['main', 'release/*']
pull_request:
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
ref:
- develop
- releases/v0.23
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Set up Spack
uses: ./
with:
ref: ${{ matrix.ref }}
buildcache: true
color: true
- name: Version check
run: spack --version
- name: Check build cache config
run: spack config blame mirrors
- name: Check build cache install in active env with spack-bash shell
shell: spack-bash {0}
run: |
spack env activate
spack install --add --cache-only --reuse python
which python3
python3 -c 'print("hello world")'
- name: Check spack-sh shell
shell: spack-sh {0}
run: |
spack env activate
spack env status