Write pressure gradient calculated from function objects #1033
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
name: Build with OpenFOAM v2312 | |
on: | |
push: | |
branches-ignore: | |
- 'OpenFOAM*' | |
paths-ignore: | |
- 'docs/**' | |
- 'tools/**' | |
- 'CHANGELOG.md' | |
- 'CONTRIBUTING.md' | |
- 'README.md' | |
pull_request: | |
branches-ignore: | |
- 'OpenFOAM*' | |
paths-ignore: | |
- 'docs/**' | |
- 'tools/**' | |
- 'CHANGELOG.md' | |
- 'CONTRIBUTING.md' | |
- 'README.md' | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
container: precice/precice:nightly | |
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 | |
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' | |
- name: Build OpenFOAM-preCICE adapter | |
run: /usr/bin/openfoam2312 ./Allwmake |