Skip to content

Commit

Permalink
ci: update to use github container registry image (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
rem1776 authored Sep 8, 2023
1 parent 335594d commit 7761886
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: noaagfdl/hpc-me.ubuntu-minimal:coupler
image: ghcr.io/noaa-gfdl/fms/fms-ci-rocky-gnu:12.3.0
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
env:
CC: mpicc
FC: mpif90
Expand Down
4 changes: 2 additions & 2 deletions t/null_model_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ EOF
mkdir -p $bld_dir/fms
list_paths -o $bld_dir/fms/pathnames_fms $src_dir/FMS
cd $bld_dir/fms
mkmf -m Makefile -a $src_dir -b $bld_dir -p libfms.a -t $mkmf_template -g -c "-Duse_netCDF -Duse_libMPI -DMAXFIELDS_=200 -DMAXFIELDMETHODS_=200 -DINTERNAL_FILE_NML -DHAVE_GETTID" -IFMS/include -IFMS/mpp/include $bld_dir/fms/pathnames_fms
mkmf -m Makefile -a $src_dir -b $bld_dir -p libfms.a -t $mkmf_template -g -c "-Duse_netCDF -Duse_libMPI -DMAXFIELDS_=200 -DMAXFIELDMETHODS_=200 -DINTERNAL_FILE_NML -DHAVE_GETTID" -o "-fallow-argument-mismatch" -IFMS/include -IFMS/mpp/include $bld_dir/fms/pathnames_fms
cd $bld_dir

# libocean_null
Expand Down Expand Up @@ -181,7 +181,7 @@ cd ${bld_dir}/run
mkdir RESTART
# Get the data files required for the run
tarFile=coupler_null_test_data_full_simple.tar.gz
wget ftp://ftp.gfdl.noaa.gov/perm/GFDL_pubrelease/test_data/${tarFile}
curl -O ftp://ftp.gfdl.noaa.gov/perm/GFDL_pubrelease/test_data/${tarFile}
tar zxf ${tarFile}

# add an io layout to the full nml
Expand Down

0 comments on commit 7761886

Please sign in to comment.