forked from SCOREC/mumfim
-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (29 loc) · 957 Bytes
/
run_tests.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: test
on: [push, pull_request]
env:
BUILD_TYPE: Release
BUILD_PARALLEL: 4
jobs:
linux:
strategy:
fail-fast: false
name: ubuntu-test
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v3
- name : spack
run: |
git clone -c feature.manyFiles=true https://github.com/spack/spack.git
. spack/share/spack/setup-env.sh
spack mirror add binary_mirror https://binaries.spack.io/releases/v0.18
spack buildcache keys --install --trust
spack env create mumfim
spack env activate mumfim
cd ~
git clone https://github.com/jacobmerson/mumfim-spack.git
spack repo add ~/mumfim-spack/mumfim
spack add mumfim@develop%[email protected] +tests
spack develop --no-clone --path ${{github.workspace}} mumfim@develop
spack install
cd `spack location -b mumfim`
ctest --output-on-failure