Skip to content

Test on OpenFOAM v2306 #184

Test on OpenFOAM v2306

Test on OpenFOAM v2306 #184

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
ci:
name: OpenFOAM v${{ matrix.openfoam-version }}
runs-on: ubuntu-latest
container: opencfd/openfoam-dev:${{ matrix.openfoam-version }}
strategy:
matrix:
openfoam-version: ['2012', '2106', '2112', '2206', '2212', '2306']
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up GCC problem matcher
uses: ammaraskar/gcc-problem-matcher@0.2.0
- name: Build
run: |
openfoam${{ matrix.openfoam-version }} ./Allwmake -j
- name: Set up Python
run: |
apt-get update
apt-get -y install python3-venv
- name: Test
run: |
openfoam${{ matrix.openfoam-version }} tests/Alltest
env:
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
OMPI_MCA_rmaps_base_oversubscribe: 1