Skip to content

modnudge: fix ascii nudge, broadcast logicals #707

modnudge: fix ascii nudge, broadcast logicals

modnudge: fix ascii nudge, broadcast logicals #707

Workflow file for this run

name: DALES precision CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the feature/single_precision branch
push:
branches:
pull_request:
branches:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
hypre: ["On", "Off"]
sp_fields: ["On","Off"]
sp_pois: ["On","Off"]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
submodules: 'true'
# Runs a set of commands using the runners shell
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake libnetcdff-dev libfftw3-dev libhypre-dev libopenmpi-dev
- name : Set up Build
run: |
mkdir build
cd build
cmake \
-DENABLE_HYPRE=${{ matrix.hypre }} \
-DENABLE_FP32_FIELDS=${{ matrix.sp_fields }} \
-DENABLE_FP32_POIS=${{ matrix.sp_pois }} \
../
- name : Build
run: |
cd build
make -j2