Skip to content

Update README.md

Update README.md #218

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
bare:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
openfoam-version:
- 2406
- 2312
- 2306
- 2212
- 2206
- 2112
- 2106
- 2012
- 2006
- 12
- 11
- 10
- 9
- 8
- 7
os:
- ubuntu-24.04
- ubuntu-22.04
- ubuntu-20.04
- macos-15
- macos-14
- macos-13
- macos-12
exclude:
- os: ubuntu-24.04
openfoam-version: 2306
- os: ubuntu-24.04
openfoam-version: 2212
- os: ubuntu-24.04
openfoam-version: 2206
- os: ubuntu-24.04
openfoam-version: 2112
- os: ubuntu-24.04
openfoam-version: 2106
- os: ubuntu-24.04
openfoam-version: 2012
- os: ubuntu-24.04
openfoam-version: 2006
- os: ubuntu-24.04
openfoam-version: 10
- os: ubuntu-24.04
openfoam-version: 9
- os: ubuntu-24.04
openfoam-version: 8
- os: ubuntu-24.04
openfoam-version: 7
- os: ubuntu-22.04
openfoam-version: 8
- os: ubuntu-22.04
openfoam-version: 7
- os: macos-15
openfoam-version: 2106
- os: macos-15
openfoam-version: 2012
- os: macos-15
openfoam-version: 2006
- os: macos-15
openfoam-version: 12
- os: macos-15
openfoam-version: 11
- os: macos-15
openfoam-version: 10
- os: macos-15
openfoam-version: 9
- os: macos-15
openfoam-version: 8
- os: macos-15
openfoam-version: 7
- os: macos-14
openfoam-version: 2106
- os: macos-14
openfoam-version: 2012
- os: macos-14
openfoam-version: 2006
- os: macos-14
openfoam-version: 12
- os: macos-14
openfoam-version: 11
- os: macos-14
openfoam-version: 10
- os: macos-14
openfoam-version: 9
- os: macos-14
openfoam-version: 8
- os: macos-14
openfoam-version: 7
- os: macos-13
openfoam-version: 2106
- os: macos-13
openfoam-version: 2012
- os: macos-13
openfoam-version: 2006
- os: macos-13
openfoam-version: 12
- os: macos-13
openfoam-version: 11
- os: macos-13
openfoam-version: 10
- os: macos-13
openfoam-version: 9
- os: macos-13
openfoam-version: 8
- os: macos-13
openfoam-version: 7
- os: macos-12
openfoam-version: 2106
- os: macos-12
openfoam-version: 2012
- os: macos-12
openfoam-version: 2006
- os: macos-12
openfoam-version: 12
- os: macos-12
openfoam-version: 11
- os: macos-12
openfoam-version: 10
- os: macos-12
openfoam-version: 9
- os: macos-12
openfoam-version: 8
- os: macos-12
openfoam-version: 7
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up OpenFOAM ${{ matrix.openfoam-version }}
uses: ./
with:
openfoam-version: ${{ matrix.openfoam-version }}
- name: Test icoFoam -help
run: icoFoam -help | grep ${{ matrix.openfoam-version }}
- name: Test shell session
if: matrix.openfoam-version >= 1000
run: |
openfoam icoFoam -help | grep ${{ matrix.openfoam-version }}
openfoam${{ matrix.openfoam-version }} icoFoam -help | grep ${{ matrix.openfoam-version }}
- name: Regression test
run: source $WM_DIR/scripts/AllwmakeParseArguments
container:
runs-on: ubuntu-latest
container: ${{ matrix.container }}
strategy:
fail-fast: false
matrix:
openfoam-version:
- 2406
- 2312
- 2306
- 2212
- 2206
- 2112
- 2106
- 2012
- 2006
- 12
- 11
- 10
- 9
- 8
- 7
container:
- ubuntu:24.04
- ubuntu:22.04
- ubuntu:20.04
- debian:bookworm
- debian:bullseye
exclude:
- container: ubuntu:24.04
openfoam-version: 2306
- container: ubuntu:24.04
openfoam-version: 2212
- container: ubuntu:24.04
openfoam-version: 2206
- container: ubuntu:24.04
openfoam-version: 2112
- container: ubuntu:24.04
openfoam-version: 2106
- container: ubuntu:24.04
openfoam-version: 2012
- container: ubuntu:24.04
openfoam-version: 2006
- container: ubuntu:24.04
openfoam-version: 10
- container: ubuntu:24.04
openfoam-version: 9
- container: ubuntu:24.04
openfoam-version: 8
- container: ubuntu:24.04
openfoam-version: 7
- container: ubuntu:22.04
openfoam-version: 8
- container: ubuntu:22.04
openfoam-version: 7
- container: debian:bookworm
openfoam-version: 2012
- container: debian:bookworm
openfoam-version: 12
- container: debian:bookworm
openfoam-version: 11
- container: debian:bookworm
openfoam-version: 10
- container: debian:bookworm
openfoam-version: 9
- container: debian:bookworm
openfoam-version: 8
- container: debian:bookworm
openfoam-version: 7
- container: debian:bullseye
openfoam-version: 12
- container: debian:bullseye
openfoam-version: 11
- container: debian:bullseye
openfoam-version: 10
- container: debian:bullseye
openfoam-version: 9
- container: debian:bullseye
openfoam-version: 8
- container: debian:bullseye
openfoam-version: 7
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up OpenFOAM ${{ matrix.openfoam-version }}
uses: ./
with:
openfoam-version: ${{ matrix.openfoam-version }}
- name: Test icoFoam -help
run: icoFoam -help | grep ${{ matrix.openfoam-version }}
- name: Test shell session
if: matrix.openfoam-version >= 1000
run: |
openfoam icoFoam -help | grep ${{ matrix.openfoam-version }}
openfoam${{ matrix.openfoam-version }} icoFoam -help | grep ${{ matrix.openfoam-version }}
- name: Regression test
run: . $WM_DIR/scripts/AllwmakeParseArguments
multiple-installs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up OpenFOAM 2406
uses: ./
with:
openfoam-version: 2406
- name: Set up OpenFOAM 2312
uses: ./
with:
openfoam-version: 2312
- name: Test OpenFOAM 2312
run: |
icoFoam -help | grep 2312
openfoam icoFoam -help | grep 2312
- name: Test OpenFOAM v2406
run: openfoam2406 icoFoam -help | grep 2406