-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use setup-openfoam action in workflows (#338)
- Loading branch information
Showing
4 changed files
with
33 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,23 +25,9 @@ jobs: | |
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
- name: Install action dependencies | ||
run: | | ||
apt-get update -qq | ||
apt-get install -qq sudo wget | ||
- name: Setup caches | ||
uses: actions/cache@v4 | ||
id: cache-id | ||
- name: Set up OpenFOAM | ||
uses: gerlero/setup-openfoam@v1 | ||
with: | ||
path: ${{ runner.temp }}/cache-directory | ||
key: ${{ runner.os }}-cache-dependencies-v1.0 | ||
- name: Install OpenFOAM (considering cache) | ||
uses: airvzxf/[email protected] | ||
with: | ||
script: 'install-openfoam.sh' | ||
is_cached: ${{ steps.cache-id.outputs.cache-hit }} | ||
cache: ${{ runner.temp }}/cache-directory | ||
snapshot: '/' | ||
exclude: '/boot /data /dev /mnt /proc /run /sys' | ||
openfoam-version: 2406 | ||
- name: Build OpenFOAM-preCICE adapter | ||
run: /usr/bin/openfoam2406 ./Allwmake | ||
run: ./Allwmake |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Use the [setup-openfoam](https://github.com/marketplace/actions/setup-openfoam) action to install OpenFOAM within CI workflows [#338](https://github.com/precice/openfoam-adapter/pull/338). |