Skip to content

Commit 81352da

Browse files
authored
CI: Enable eCLM-PDAF build (#83)
1 parent 3f5ff80 commit 81352da

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

.github/workflows/CI.yml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,16 @@ jobs:
2828
parflow_dir: "parflow",
2929
model_opts: "--eCLM --ParFlowGPU"
3030
}
31-
# TODO - Fix PDAF GNU errors
3231
# - {
3332
# name: "CLM3.5-PDAF",
3433
# use_oasis: "False",
3534
# model_opts: "--CLM35 --PDAF"
3635
# }
37-
# - {
38-
# name: "eCLM-PDAF",
39-
# use_oasis: "False",
40-
# model_opts: "--eCLM --PDAF"
41-
# }
36+
- {
37+
name: "eCLM-PDAF",
38+
use_oasis: "False",
39+
model_opts: "--eCLM --PDAF"
40+
}
4241
# - {
4342
# name: "CLM3.5-ParFlow-PDAF",
4443
# use_oasis: "True",
@@ -328,12 +327,11 @@ jobs:
328327
echo "VER_ICON=${VER_ICON}" >> $GITHUB_OUTPUT
329328
fi
330329
331-
# TODO - Fix PDAF GNU errors
332-
# if [[ "${{ matrix.config.name }}" == *"PDAF"* ]]; then
333-
# VER_PDAF=$(cat model_versions | grep -w "pdaf" | cut -d' ' -f1)
334-
# echo "${VER_PDAF} => VER_PDAF"
335-
# echo "VER_PDAF=${VER_PDAF}" >> $GITHUB_OUTPUT
336-
# fi
330+
if [[ "${{ matrix.config.name }}" == *"PDAF"* ]]; then
331+
VER_PDAF=$(cat model_versions | grep -w "pdaf" | cut -d' ' -f1)
332+
echo "${VER_PDAF} => VER_PDAF"
333+
echo "VER_PDAF=${VER_PDAF}" >> $GITHUB_OUTPUT
334+
fi
337335
338336
#
339337
# OASIS3-MCT
@@ -396,13 +394,13 @@ jobs:
396394
pwd && git submodule update --init --force .
397395
398396
#
399-
# TODO - Fix PDAF GNU errors
397+
# PDAF
400398
#
401-
# - if: contains(matrix.config.name, 'PDAF')
402-
# name: Update PDAF submodule ${{ steps.model-versions.outputs.VER_PDAF }}
403-
# working-directory: ${{ env.TSMP2_ROOT }}/models/pdaf
404-
# run: |
405-
# pwd && git submodule update --init --force .
399+
- if: contains(matrix.config.name, 'PDAF')
400+
name: Update PDAF submodule ${{ steps.model-versions.outputs.VER_PDAF }}
401+
working-directory: ${{ env.TSMP2_ROOT }}/models/pdaf
402+
run: |
403+
pwd && git submodule update --init --force .
406404
407405
#
408406
# Pre-build checks

0 commit comments

Comments
 (0)