-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (46 loc) · 1.13 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: spack
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
paths-ignore:
- '**.md'
- '**.txt'
- 'docs/**'
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
vol-pdc:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- name: Setup
run: |
voldir="$PWD"
voldirbase="$(basename $(pwd))"
cd ..
mkdir vol-pdc-workspace
cd vol-pdc-workspace
workspace="$PWD"
mv $voldir $workspace
cd ..
mv ./vol-pdc-workspace ./vol-pdc
cd vol-pdc/vol-pdc
export VOL_DIR="$PWD"
cd ..
- name: Dependencies
run: |
sudo apt-get update
# spack
git clone https://github.com/spack/spack.git
- name: Installation
run: |
source spack/share/spack/setup-env.sh
cd vol-pdc
spack repo add spack
spack install vol-pdc
- name: Compile and Test VOL-PDC
run: |
# TODO