Skip to content

Rename fes2022 to fes2022b #60

Rename fes2022 to fes2022b

Rename fes2022 to fes2022b #60

Workflow file for this run

name: CMake
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install prerequisite
run: sudo apt install cmake libnetcdf-dev uthash-dev python3 python3-dev -q -y
- name: Initialize the submodules
run: git submodule update --init --recursive
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_PYTHON=on -DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_SHARED_LIBS=on
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}