AdditiveFOAM Release v2.0.0 #218
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${ {github.event_name }}-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{github.event_name == 'pull_request'}} | |
| jobs: | |
| CI: | |
| defaults: | |
| run: | |
| shell: bash -ileo pipefail {0} | |
| strategy: | |
| matrix: | |
| cxx: ['g++'] | |
| cmake_build_type: ['Release'] | |
| runs-on: ubuntu-latest | |
| container: | |
| image: microfluidica/openfoam:13 | |
| options: --user root | |
| steps: | |
| - name: Checkout AdditiveFOAM | |
| uses: actions/checkout@v2 | |
| - name: Build AdditiveFOAM | |
| run: | | |
| . /opt/openfoam13/etc/bashrc || true | |
| . ./etc/bashrc | |
| test -n "$WM_PROJECT_DIR" | |
| ./Allwmake | |
| - name: Test AdditiveFOAM | |
| run: | | |
| . /opt/openfoam13/etc/bashrc || true | |
| . ./etc/bashrc | |
| cp -r tutorials/AMB2018-02-B userCase | |
| cd userCase | |
| blockMesh | |
| decomposePar | |
| mpirun -n 6 --oversubscribe --allow-run-as-root additiveFoam -parallel |