Skip to content

Commit

Permalink
update github tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jan 24, 2025
1 parent 9f50314 commit 046258d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autotools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
LDFLAGS: "-L/usr/lib/x86_64-linux-gnu -lnetcdf_mpi -lpnetcdf"
FCFLAGS: "-Wall -Werror -fallow-argument-mismatch -Wno-conversion"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Installs
run: |
set -x
Expand Down Expand Up @@ -54,4 +54,4 @@ jobs:
# - name: Setup tmate session
# if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3
# uses: mxschmitt/action-tmate@v4
20 changes: 10 additions & 10 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
runs-on: ubuntu-latest

env:
CC: mpicc
FC: mpiifort
CC: mpicx
FC: mpiifx
# Versions should match the github tag names
PNETCDF_VERSION: checkpoint.1.12.3
PNETCDF_VERSION: checkpoint.1.14.0
NETCDF_C_VERSION: v4.9.2
NETCDF_FORTRAN_VERSION: v4.6.1
HDF5_VERSION: hdf5_1_12_2
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Installs
run: |
set -x
Expand All @@ -30,7 +30,7 @@ jobs:
echo "/opt/intel/oneapi/compiler/2023.2.1/linux/bin/intel64/" >> $GITHUB_PATH
- name: cache intel compiler
id: cache-intel
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /opt/intel/oneapi
key: intel-${{ runner.os }}
Expand All @@ -45,7 +45,7 @@ jobs:
- name: cache-hdf5
id: cache-hdf5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/work/ParallelIO/ParallelIO/hdf5
key: hdf5-${{ runner.os }}-${{ env.HDF5_VERSION }}-impi
Expand All @@ -59,13 +59,13 @@ jobs:
mpi_path: /opt/intel/mpi
- name: cache netcdf C
id: cache-netcdf-c
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/work/ParallelIO/ParallelIO/netcdf-c
key: netcdf-c-${{ runner.os }}-${{ env.NETCDF_C_VERSION }}-impi-hdf5-${{ env.HDF5_VERSION }}
- name: cache netcdf Fortran
id: cache-netcdf-f
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/work/ParallelIO/ParallelIO/netcdf-f
key: netcdf-f-${{ runner.os }}-${{ env.NETCDF_FORTRAN_VERSION }}-impi-hdf5-${{ env.HDF5_VERSION }}
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:

- name: cache-pnetcdf
id: cache-pnetcdf
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/work/ParallelIO/ParallelIO/pnetcdf
key: pnetcdf-${{ runner.os }}-${{ env.PNETCDF_VERSION }}-impi-5
Expand Down Expand Up @@ -128,4 +128,4 @@ jobs:
# see https://github.com/marketplace/actions/debugging-with-tmate for further details
# - name: Setup tmate session
# if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3
# uses: mxschmitt/action-tmate@v4
8 changes: 4 additions & 4 deletions .github/workflows/withspack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Installs
run: |
set -x
Expand All @@ -28,15 +28,15 @@ jobs:
printenv >> $GITHUB_ENV
- name: cache spack
id: cache-spack
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/work/ParallelIO/ParallelIO/spack
~/.spack
key: spack-${{ runner.os }}-${{ env.SPACK_LATEST }}
- name: Get Spack
if: steps.cache-spack.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: spack/spack
path: spack
Expand Down Expand Up @@ -74,4 +74,4 @@ jobs:
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
uses: mxschmitt/action-tmate@v4

0 comments on commit 046258d

Please sign in to comment.