Skip to content

Revise documentation deployment #1929

Revise documentation deployment

Revise documentation deployment #1929

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
defaults:
run:
shell: bash -eo pipefail {0}
jobs:
CI:
strategy:
fail-fast: false
matrix:
rte-kernels: [default, accel]
fpmodel: [DP, SP]
env:
FFLAGS: -std=f2008 -fbounds-check -fmodule-private -fimplicit-none -finit-real=nan
CMAKE_BUILD_PARALLEL_LEVEL: 8
VERBOSE:
CTEST_PARALLEL_LEVEL: 8
CTEST_OUTPUT_ON_FAILURE: 1
runs-on: ubuntu-24.04
steps:
- name: Check out
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends --assume-yes \
libnetcdff-dev \
python3-dask \
python3-h5netcdf \
python3-numpy \
python3-scipy \
python3-xarray
- name: Configure
run: |
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DRTE_ENABLE_SP="$(test '${{ matrix.fpmodel }}' = SP && echo ON || echo OFF)" \
-DKERNEL_MODE=${{ matrix.rte-kernels }} \
-DBUILD_TESTING=ON
- name: Build
run: cmake --build build
- name: Test
run: ctest --test-dir build
- name: Install
run: sudo cmake --install build