File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 container :
2424 image : ghcr.io/noaa-emc/ci-common-build-cache/nceplibs-develop-ubuntu-24.04-gcc-14-mpich-x:latest
2525 volumes :
26- - /home/runner/data :/root/data
26+ - /home/runner:/root
2727
2828 strategy :
2929 fail-fast : false
5151 path : g2c
5252
5353 - name : cache-data
54+ if : matrix.config == 'warning'
5455 id : cache-data
5556 uses : actions/cache@v4
5657 with :
7879 - name : warning
7980 if : matrix.config == 'warning'
8081 run : |
81- cd /root/
82- echo "Current root directory contents:"
83- ls -l
84- cd /__w/NCEPLIBS-g2c/NCEPLIBS-g2c/
8582 set -x
8683 export CC=gcc
8784 cmake -S g2c -B g2c/build \
@@ -161,8 +158,7 @@ jobs:
161158 - name : populate-data
162159 if : steps.cache-data.outputs.cache-hit != 'true' && matrix.config == 'warning'
163160 run : |
164- cd /root/data
165- ls -l
161+ mkdir /root/data
166162 if [ -d "$GITHUB_WORKSPACE/g2c/build/tests/data" ]; then
167163 cp -r $GITHUB_WORKSPACE/g2c/build/tests/data/* /root/data
168164 elif [ -d "$GITHUB_WORKSPACE/g2c/tests/data/" ]; then
You can’t perform that action at this time.
0 commit comments