Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TESTING ONLY: Debugging CI tests requires active PR. #403

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions .github/workflows/ci_build_scm_ubuntu_22.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,18 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
fortran-compiler: [gfortran-10, gfortran-11, gfortran-12]
build-type: [Release, Debug]
py-version: [3.7.13, 3.9.12]
# fortran-compiler: [gfortran-10, gfortran-11, gfortran-12]
fortran-compiler: [gfortran-12]
# build-type: [Release, Debug]
build-type: [Debug]
# py-version: [3.7.13, 3.9.12]
py-version: [3.7.13]

# Environmental variables
env:
F90: ${{ matrix.fortran-compiler }}
FC: ${{ matrix.fortran-compiler }}
F90FLAGS: "-O3 -ffree-line-length-none -fcheck=bounds -finit-real=nan"
NFHOME: /home/runner/netcdf-fortran
NFVERSION: v4.5.3
bacio_ROOT: /home/runner/bacio
Expand Down Expand Up @@ -58,6 +64,10 @@ jobs:
#######################################################################################
# Install FORTRAN dependencies
#######################################################################################
- name: Install gfortran compiler
if: contains(matrix.fortran-compiler, 'gfortran')
run: sudo apt-get install ${{ matrix.fortran-compiler }}

- name: Environment for ifort compiler
if: contains(matrix.fortran-compiler, 'ifort')
run: |
Expand Down Expand Up @@ -139,7 +149,6 @@ jobs:

- name: Install NetCDF C library
run: |
sudo apt-get update
sudo apt-get install libnetcdf-dev

- name: Cache NetCDF Fortran library
Expand All @@ -151,10 +160,12 @@ jobs:

- name: Install NetCDF Fortran library
if: steps.cache-netcdf-fortran.outputs.cache-hit != 'true'
env:
FCFLAGS: -fPIC
run: |
git clone --branch ${NFVERSION} https://github.com/Unidata/netcdf-fortran.git
cd netcdf-fortran
./configure
./configure --prefix=${NFHOME}
make -j
sudo make install
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NFHOME}/lib
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_run_scm_DEPHY.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI test to run the SCM with DEPHY v1 data

on: [pull_request,workflow_dispatch]
on: [workflow_dispatch]

jobs:
run-scm-DEPHY:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_run_scm_rts.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI test to build and run SCM regression tests

on: [pull_request, workflow_dispatch]
on: [workflow_dispatch]

jobs:
run_scm_rts:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_run_scm_ufs_replay.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI test to create SCM UFS-replay cases from UWM regression tests

on: [pull_request,workflow_dispatch]
on: [workflow_dispatch]

jobs:
run_scm_ufs_replay:
Expand Down
Loading