Skip to content
Merged
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
25 changes: 23 additions & 2 deletions .github/workflows/esmf-8.0.1_jasper-2.0.22_nceplibs-1.3.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,34 @@ jobs:
compiler: [gcc-9]

steps:

- name: cache-mpich
id: cache-mpich
uses: actions/cache@v2
with:
path: ~/mpich
key: mpich-${{ runner.os }}-3.3.2-1

- name: build-mpich
if: steps.cache-mpich.outputs.cache-hit != 'true'
run: |
if [[ ${{ matrix.os }} == "macos-10.15" ]]; then
wget http://www.mpich.org/static/downloads/3.3.2/mpich-3.3.2.tar.gz &> /dev/null
tar -xzf mpich-3.3.2.tar.gz
pushd mpich-3.3.2
./configure --prefix=$HOME/mpich
make
sudo make install
popd
fi

- name: install-dependencies
run: |
echo "$HOME/mpich/bin" >> $GITHUB_PATH
if [[ ${{ matrix.os }} == "ubuntu-20.04" ]]; then
sudo apt-get update
sudo apt-get install doxygen
sudo apt-get install libmpich-dev
sudo apt-get install doxygen
sudo apt-get install libnetcdf-dev libnetcdff-dev netcdf-bin pkg-config
sudo apt-get install libpng-dev
sudo apt-get install libjpeg-dev
Expand Down Expand Up @@ -128,4 +150,3 @@ jobs:
cmake .. -DCMAKE_PREFIX_PATH='~;~/jasper;~/nceplibs' -DENABLE_DOCS=On
make -j2
make test

24 changes: 22 additions & 2 deletions .github/workflows/esmf-8.0.1_jasper-2.0.22_nceplibs-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,37 @@ jobs:
compiler: [gcc-9]

steps:
- name: cache-mpich
id: cache-mpich
uses: actions/cache@v2
with:
path: ~/mpich
key: mpich-${{ runner.os }}-3.3.2-1

- name: build-mpich
if: steps.cache-mpich.outputs.cache-hit != 'true'
run: |
if [[ ${{ matrix.os }} == "macos-10.15" ]]; then
wget http://www.mpich.org/static/downloads/3.3.2/mpich-3.3.2.tar.gz &> /dev/null
tar -xzf mpich-3.3.2.tar.gz
pushd mpich-3.3.2
./configure --prefix=$HOME/mpich
make
sudo make install
popd
fi

- name: install-dependencies
run: |
if [[ ${{ matrix.os }} == "ubuntu-20.04" ]]; then
sudo apt-get update
sudo apt-get install doxygen
sudo apt-get install libmpich-dev
sudo apt-get install doxygen
sudo apt-get install libnetcdf-dev libnetcdff-dev netcdf-bin pkg-config
sudo apt-get install libpng-dev
sudo apt-get install libjpeg-dev
elif [[ ${{ matrix.os }} == "macos-10.15" ]]; then
echo "$HOME/mpich/bin" >> $GITHUB_PATH
brew install doxygen
brew install mpich
brew install netcdf
Expand All @@ -34,7 +55,6 @@ jobs:
sudo ln -sf /usr/local/bin/gfortran-10 /usr/local/bin/gfortran
fi
fi
export PATH="~/.local/bin:$PATH"
python3 -m pip install gcovr

- name: cache-esmf
Expand Down