File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,10 +21,16 @@ jobs:
2121 root=$PWD
2222
2323 # clone the modified compass repo
24- git clone --recursive https://github.com/MPAS-Dev/compass.git
24+ git clone https://github.com/MPAS-Dev/compass.git
25+ pushd compass
26+
27+ # use https for submodules - runner cannot use git protocol
28+ sed -i 's!git@github.com:!https://github.com/!g' .gitmodules
29+
30+ # clone submodules
31+ git submodule update --init
2532
2633 # checkout the working branch
27- pushd compass
2834 git remote add scorec https://github.com/SCOREC/compass.git
2935 git fetch scorec
3036 git checkout cws/simmetrixMeshGen
3642 ./conda/configure_compass_env.py --conda $root/mambaForge --mpi mpich
3743
3844 # enable the compass environment
39- source load_dev_compass_1.7.0-alpha.1_mpich.sh
45+ source load_dev_compass_1.7.0-alpha.1_mpich.sh
4046
4147 # install the meshio package to support writing contours to vtk
4248 pip install meshio
7379
7480 # setup the greenland mesh generation test case
7581 testDir=$root/gis_mesh_gen
76- compass setup -w $testDir -t landice/greenland/mesh_gen -f system.cfg
82+ compass setup -w $testDir -t landice/greenland/mesh_gen -f system.cfg
7783
7884 # run the test case
7985 cd $testDir
You can’t perform that action at this time.
0 commit comments