Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
kongdd committed Feb 16, 2024
1 parent 670281d commit 07a8d78
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 43 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/netcdf-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,49 +67,49 @@ jobs:
build_curl && build_zlib
- name: cache hdf5
id: cache-hdf5
uses: actions/cache@v4
with:
path: ~/environment/hdf5
key: Ubuntu2204_${{env.compiler}}_hdf5-v${{env.H5TAG}}
save-always: true

- name: build hdf5
if: steps.cache-hdf5.outputs.cache-hit != 'true'
run: |
source build_netcdff.sh
build_hdf5
# - name: cache hdf5
# id: cache-hdf5
# uses: actions/cache@v4
# with:
# path: ~/environment/hdf5
# key: Ubuntu2204_${{env.compiler}}_hdf5-v${{env.H5TAG}}
# save-always: true

# - name: build hdf5
# if: steps.cache-hdf5.outputs.cache-hit != 'true'
# run: |
# source build_netcdff.sh
# build_hdf5


- name: cache pnetcdf
id: cache-pnetcdf
uses: actions/cache@v4
with:
path: ~/environment/pnetcdf
key: Ubuntu2204_${{env.compiler}}_pnetcdf-v${{env.PNCTA}}
save-always: true
# - name: cache pnetcdf
# id: cache-pnetcdf
# uses: actions/cache@v4
# with:
# path: ~/environment/pnetcdf
# key: Ubuntu2204_${{env.compiler}}_pnetcdf-v${{env.PNCTA}}
# save-always: true

- name: build pnetcdf
if: steps.cache-pnetcdf.outputs.cache-hit != 'true'
run: |
source build_netcdff.sh
build_pnetcdf
# - name: build pnetcdf
# if: steps.cache-pnetcdf.outputs.cache-hit != 'true'
# run: |
# source build_netcdff.sh
# build_pnetcdf



- name: build netcdf and netcdff
run: |
source build_netcdff.sh
build_netcdf
build_netcdff
# - name: build netcdf and netcdff
# run: |
# source build_netcdff.sh
# build_netcdf
# build_netcdff

- name: list files
run: |
ls -l ~/environment
# - name: list files
# run: |
# ls -l ~/environment

- uses: actions/upload-artifact@v4
with:
name: Ubuntu2204_${{env.compiler}}_netcdf-v4.9.2
path: |
~/environment
# - uses: actions/upload-artifact@v4
# with:
# name: Ubuntu2204_${{env.compiler}}_netcdf-v4.9.2
# path: |
# ~/environment
10 changes: 5 additions & 5 deletions .github/workflows/netcdf-openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ jobs:
run: |
ls -l ~/environment
- uses: actions/upload-artifact@v4
with:
name: Ubuntu2204_${{env.compiler}}_netcdf-v4.9.2
path: |
~/environment
# - uses: actions/upload-artifact@v4
# with:
# name: Ubuntu2204_${{env.compiler}}_netcdf-v4.9.2
# path: |
# ~/environment

0 comments on commit 07a8d78

Please sign in to comment.