Skip to content

Merge commit '6eeeacc036d80fbabbfcd6bd3e4a527ae4d8c2f5' into catch2-u… #22

Merge commit '6eeeacc036d80fbabbfcd6bd3e4a527ae4d8c2f5' into catch2-u…

Merge commit '6eeeacc036d80fbabbfcd6bd3e4a527ae4d8c2f5' into catch2-u… #22

Workflow file for this run

# This is a basic workflow to run tests in OpenFOAM 10 containers
name: OF9
# Make sure shells are interactive, so OF can get sourced
defaults:
run:
shell: bash -o pipefail -i {0}
# Controls when the workflow will run
on:
push
jobs:
build:
runs-on: ubuntu-22.04
container:
image: ghcr.io/foamscience/jammy-openfoam:9
options: --cpus 2 --user openfoam
env:
CATCH_TIMEOUT: 20
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Compile and Test
run: |
source /opt/openfoam9/etc/bashrc
mkdir -p $FOAM_USER_LIBBIN
sed -i 's/mpirun/mpirun --oversubscribe/g' Alltest
export FOAM_FOAMUT=$PWD
./Alltest