Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
makepath-alex committed Dec 9, 2024
1 parent 7572d43 commit e7386ae
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
matrix:
os: [ubuntu-22.04, macos-13, windows-2022]
compiler: [gfortran-10, gfortran-11, gfortran-12, gfortran-13, gfortran-14]
use-conda: [true, false]
fpmodel: [DP, SP]
# Conda does not contain gfortran-10/11/12 for windows and gfortran-14 for macos
exclude:
Expand All @@ -33,6 +34,11 @@ jobs:
compiler: gfortran-12
- os: macos-13
compiler: gfortran-14

- os: windows-2022
use-conda: false
- os: macos-13
use-conda: false
env:
FC: ${{ matrix.compiler }}
FCFLAGS: "-ffree-line-length-none -m64 -std=f2008 -march=native -fbounds-check -fmodule-private -fimplicit-none -finit-real=nan -g"
Expand Down Expand Up @@ -84,7 +90,11 @@ jobs:
FC_VERSION="${FC_VERSION##*-}"
echo "FC version: $FC_VERSION"
conda install -c conda-forge gfortran=$FC_VERSION netcdf-fortran ninja -y
conda install -c conda-forge netcdf-fortran ninja -y
if ${{ matrix.use-conda }}; then
conda install -c conda-forge gfortran=$FC_VERSION
fi
#
# Build libraries, examples, and tests
#
Expand All @@ -101,6 +111,10 @@ jobs:
FC_PATH="$FC_PATH.exe"
fi
if ! ${{ matrix.use-conda }}; then
FC_PATH=$FC
fi
echo "Using AR: $AR_PATH"
echo "Using RANLIB: $RANLIB_PATH"
echo "Using FC: $FC_PATH"
Expand Down

0 comments on commit e7386ae

Please sign in to comment.