-
Notifications
You must be signed in to change notification settings - Fork 94
92 lines (86 loc) · 2.85 KB
/
docker_build.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: Docker Build
on:
schedule:
- cron: '0 12 * * 3' # Weekly
jobs:
build:
runs-on: ubuntu-20.04
continue-on-error: true
strategy:
matrix:
include:
- recipe: recipes/easybuild.py
userargs: none=none
context: .
- recipe: recipes/examples/basic.py
userargs: none=none
context: .
- recipe: recipes/examples/cloverleaf.py
userargs: none=none
context: .
- recipe: recipes/examples/multistage.py
userargs: none=none
context: .
- recipe: recipes/examples/scif.py
userargs: none=none
context: .
- recipe: recipes/examples/userargs.py
userargs: cuda=11.0 ompi=4.0.5
context: .
- recipe: recipes/gromacs/gromacs.py
userargs: none=none
context: .
- recipe: recipes/hpcbase-gnu-mvapich2.py
userargs: none=none
context: .
- recipe: recipes/hpcbase-gnu-mvapich2.py
userargs: centos=true
context: .
- recipe: recipes/hpcbase-gnu-openmpi.py
userargs: none=none
context: .
- recipe: recipes/hpcbase-gnu-openmpi.py
userargs: centos=true
context: .
#- recipe: recipes/hpcbase-nvhpc-mvapich2.py
# userargs: nvhpc_eula_accept=yes
# context: .
#- recipe: recipes/hpcbase-nvhpc-mvapich2.py
# userargs: nvhpc_eula_accept=yes centos=true
# context: .
#- recipe: recipes/hpcbase-nvhpc-openmpi.py
# userargs: nvhpc_eula_accept=yes
# context: .
#- recipe: recipes/hpcbase-nvhpc-openmpi.py
# userargs: nvhpc_eula_accept=yes centos=true
# context: .
- recipe: recipes/hpccm/bootstrap.py
userargs: none=none
context: .
- recipe: recipes/lammps/lammps.py
userargs: none=none
context: .
- recipe: recipes/milc/milc.py
userargs: none=none
context: .
- recipe: recipes/mpi_bandwidth.py
userargs: none=none
context: .
- recipe: recipes/osu_benchmarks/osu_benchmarks.py
userargs: none=none
context: recipes/osu_benchmarks
- recipe: recipes/spack.py
userargs: none=none
context: .
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install six archspec
- name: Build container
run: |
./hpccm.sh --recipe ${{ matrix.recipe }} --userarg ${{ matrix.userargs }} > Dockerfile
sudo docker build -f Dockerfile ${{ matrix.context }}