Skip to content

removed unused file, updated README, added to user_guide, improved doxygen, documented random number generator #142

removed unused file, updated README, added to user_guide, improved doxygen, documented random number generator

removed unused file, updated README, added to user_guide, improved doxygen, documented random number generator #142

Workflow file for this run

# This is a CI workflow for the NCEPLIBS-w3emc project.
#
# This workflow builds on Linux with different CMake build options.
#
# Ed Hartnett, 1/8/23
name: Linux_options
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
Linux_options:
runs-on: ubuntu-latest
env:
FC: gfortran-11
CC: gcc-11
strategy:
matrix:
options: ['-DBUILD_D=OFF -DBUILD_WITH_BUFR=ON -DBUILD_WITH_EXTRA_DEPS=ON', '-DBUILD_4=OFF -DBUILD_WITH_BUFR=ON -DBUILD_WITH_EXTRA_DEPS=ON', '-DBUILD_SHARED_LIBS=ON']
steps:
- name: checkout-bacio
uses: actions/checkout@v3
with:
repository: NOAA-EMC/NCEPLIBS-bacio
path: bacio
ref: v2.6.0
- name: cache-bacio
id: cache-bacio
uses: actions/cache@v3
with:
path: ~/bacio
key: bacio-Linux_options_${{ runner.os }}-v2.5.0-${{ matrix.options }}
- name: build-bacio
if: steps.cache-bacio.outputs.cache-hit != 'true'
run: |
set -x
cd bacio
mkdir build && cd build
if [ "${{ matrix.options }}" = "-DBUILD_SHARED_LIBS=ON" ]
then
cmake -DCMAKE_INSTALL_PREFIX=~/bacio -DBUILD_SHARED_LIBS=ON ..
else
cmake -DCMAKE_INSTALL_PREFIX=~/bacio ..
fi
make -j2 VERBOSE=1
make install
- name: checkout-bufr
uses: actions/checkout@v3
with:
repository: NOAA-EMC/NCEPLIBS-bufr
path: bufr
ref: bufr_v12.0.0
- name: cache-bufr
id: cache-bufr
uses: actions/cache@v3
with:
path: ~/bufr
key: bufr-Linux_options_${{ runner.os }}-v12.0.0-${{ matrix.options }}
- name: build-bufr
if: steps.cache-bufr.outputs.cache-hit != 'true'
run: |
set -x
cd bufr
mkdir build && cd build
if [ "${{ matrix.options }}" = "-DBUILD_SHARED_LIBS=ON" ]
then
cmake -DCMAKE_INSTALL_PREFIX=~/bufr -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON ..
else
cmake -DCMAKE_INSTALL_PREFIX=~/bufr -DBUILD_TESTING=OFF ..
fi
make -j2 VERBOSE=1
make install
- name: checkout-w3emc
uses: actions/checkout@v3
with:
path: w3emc
- name: build-w3emc
run: |
set -x
cd w3emc
mkdir build
cd build
cmake -DCMAKE_PREFIX_PATH="~/bacio;~/bufr" -DCMAKE_INSTALL_PREFIX="~/w3emc/install" ${{ matrix.options }} ..
make -j2 VERBOSE=1
- name: test-w3emc
run: |
cd w3emc/build
ctest --output-on-failure --rerun-failed --verbose
make install