-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitpod.yml
98 lines (80 loc) · 2.4 KB
/
.gitpod.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
93
94
95
96
97
image:
file: .gitpod.dockerfile
tasks:
- init: |-
sudo apt -y install gfortran libopenmpi3 libopenmpi-dev
mkdir /workspace/python
python -m venv /workspace/python/emu --system-site-packages
source /workspace/python/emu/bin/activate
pip install sympy numpy matplotlib
pushd Scripts/visualization
python setup.py install
popd
cd Exec
make generate NUM_FLAVORS=2
make -j NUM_FLAVORS=2
mkdir 2-Flavors
mv *.ex 2-Flavors/.
pushd 2-Flavors
mkdir bipolar
pushd bipolar
cp ../*.ex .
cp ../../../sample_inputs/inputs_bipolar_test .
cp ../../../Scripts/visualization/plot_first_particle.py .
popd
mkdir msw
pushd msw
cp ../*.ex .
cp ../../../sample_inputs/inputs_msw_test .
cp ../../../Scripts/visualization/plot_first_particle.py .
popd
mkdir FFI_zero_wavenumber
pushd FFI_zero_wavenumber
cp ../*.ex .
cp ../../../sample_inputs/inputs_fast_flavor .
popd
mkdir FFI
pushd FFI
cp ../*.ex .
cp ../../../sample_inputs/inputs_fast_flavor_nonzerok .
popd
popd
make realclean
make generate NUM_FLAVORS=3
make -j NUM_FLAVORS=3
mkdir 3-Flavors
mv *.ex 3-Flavors/.
pushd 3-Flavors
mkdir FFI
pushd FFI
cp ../*.ex .
cp ../../../sample_inputs/inputs_1d_fiducial .
popd
popd
make realclean
mkdir Examples
mv 2-Flavors Examples/.
mv 3-Flavors Examples/.
mv Examples ../.
clear
- command: |-
source /workspace/python/emu/bin/activate
clear
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: false
# enable for pull requests coming from this repo (defaults to true)
pullRequests: false
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: false
# add a check to pull requests (defaults to true)
addCheck: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: true
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
addBadge: true
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: false