Skip to content

Commit 8650a2c

Browse files
committed
ci: use https, whitespace
1 parent 02fe5a5 commit 8650a2c

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/gis_coarse_meshgen.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff 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
@@ -36,7 +42,7 @@ jobs:
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
@@ -73,7 +79,7 @@ jobs:
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

0 commit comments

Comments
 (0)