Skip to content

Commit

Permalink
Merge pull request #142 from gerlero/ci
Browse files Browse the repository at this point in the history
Update CI workflow
  • Loading branch information
gerlero authored Jul 23, 2024
2 parents e4cd418 + f0048c0 commit 3671c0a
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,24 @@ on:
jobs:
ci:
name: OpenFOAM v${{ matrix.openfoam-version }}
runs-on: ubuntu-latest
container: opencfd/openfoam-dev:${{ matrix.openfoam-version }}
runs-on: ubuntu-22.04
strategy:
matrix:
openfoam-version: ['2112', '2206', '2212', '2306', '2312', '2406']
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up OpenFOAM
uses: gerlero/setup-openfoam@v1
with:
openfoam-version: ${{ matrix.openfoam-version }}
- name: Build
run: |
openfoam${{ matrix.openfoam-version }} ./Allwmake -j
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
./Allwmake -j
- name: Test
run: |
openfoam${{ matrix.openfoam-version }} tests/Alltest
tests/Alltest
env:
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
Expand Down

0 comments on commit 3671c0a

Please sign in to comment.