-
Notifications
You must be signed in to change notification settings - Fork 6
/
circle.yml
42 lines (37 loc) · 1.33 KB
/
circle.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
machine:
environment:
MINICONDA_ROOT: $HOME/miniconda
OOMMFTCL: $MINICONDA_ROOT/opt/oommf.tcl
PATH: $MINICONDA_ROOT/bin:$PATH
general:
artifacts:
- "figures/reference_plots_from_paper/"
- "figures/generated_from_reference_data/oommf/"
- "figures/generated_from_recomputed_data/oommf/"
dependencies:
# Note, we used to use the naive caching of docker images, but found that
# it was quicker just to pull each time. #rollondockercaching
override:
# Install conda and add it to PATH
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $MINICONDA_ROOT
- hash -r
# Apply some conda settings, update conda and print info about the installation (for debugging)
- conda config --set always_yes yes
- conda update -q conda
- conda info -a
# Install OOMMF and relevant Python packages into the conda root environment.
- conda env update --name root -f environment.yml
test:
override:
- cat $(which oommf)
- echo $PATH
- python --version
- tclsh ${OOMMFTCL} +version
- oommf +version
- make unit-tests
- make reproduce-figures-from-oommf-reference-data
- make recompute-oommf-data
- make compare-data
- make reproduce-figures-from-oommf-recomputed-data
# - make integration-tests