Skip to content

Commit

Permalink
Test with multiple installs
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero committed Oct 19, 2024
1 parent 995f546 commit 32db425
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,3 +252,33 @@ jobs:
openfoam${{ matrix.openfoam-version }} -help
- name: Regression test
run: . $WM_DIR/scripts/AllwmakeParseArguments

multiple-installs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up OpenFOAM v2406
uses: ./
with:
openfoam-version: 2406
- name: Set up OpenFOAM v2312
uses: ./
with:
openfoam-version: 2312
- name: Set up OpenFOAM 12
uses: ./
with:
openfoam-version: 12
- name: Test OpenFOAM 12
run: |
[ $WM_PROJECT_VERSION -eq 12 ]
icoFoam -help | grep OpenFOAM-12
- name: Test OpenFOAM 2312
run: |
[ $(openfoam -version) -eq 2312 ]
openfoam icoFoam -help | grep OpenFOAM-v2312
- name: Test OpenFOAM 2406
run: |
[ $(openfoam2406 -version) -eq 2406 ]
openfoam2406 icoFoam -help | grep OpenFOAM-v2406

0 comments on commit 32db425

Please sign in to comment.