forked from NOAA-OWP/ngen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
42 lines (40 loc) · 1.98 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
image:
file: .gitpod.Dockerfile
tasks:
- name: Prebuild
before: export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
init: |
python3 -m venv .venv
. .venv/bin/activate
git submodule update --init --recursive extern/
cmake -S extern/iso_c_fortran_bmi/ -B extern/iso_c_fortran_bmi/cmake_build
cmake -S extern/test_bmi_c -B extern/test_bmi_c/cmake_build
cmake -S extern/test_bmi_cpp -B extern/test_bmi_cpp/cmake_build
cmake -S extern/test_bmi_fortran/ -B extern/test_bmi_fortran/cmake_build
cmake -S extern/sloth -B extern/sloth/cmake_build
cmake -S extern/evapotranspiration/evapotranspiration -B extern/evapotranspiration/cmake_build
cmake -S extern/noah-owp-modular/ -B extern/noah-owp-modular/cmake_build
cmake -S extern/cfe/ -B extern/cfe/cmake_build
cmake -S extern/topmodel/ -B extern/topmodel/cmake_build
cmake --build extern/iso_c_fortran_bmi/cmake_build/ --target all
cmake --build extern/test_bmi_c/cmake_build/ --target all
cmake --build extern/test_bmi_cpp/cmake_build/ --target all
cmake --build extern/test_bmi_fortran/cmake_build/ --target all
cmake --build extern/sloth/cmake_build/ --target all
cmake --build extern/evapotranspiration/cmake_build/ --target all
cmake --build extern/noah-owp-modular/cmake_build/ --target all
cmake --build extern/cfe/cmake_build/ --target all
cmake --build extern/topmodel/cmake_build/ --target all
pip install -r extern/t-route/requirements.txt
pip install -e extern/t-route/src/ngen_routing
pip install -e extern/t-route/src/nwm_routing
pushd extern/t-route/src/python_routing_v02
./compiler.sh
popd
pip install pyyaml bmipy
cmake -S . -B cmake_build -DNGEN_WITH_BMI_C=ON -DNGEN_WITH_BMI_FORTRAN=ON -DNGEN_ACTIVATE_ROUTING=1
cmake --build cmake_build --target all
- name: Workshell
before: |
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
. .venv/bin/activate