Skip to content

Add build.yml GitHub action #2

Add build.yml GitHub action

Add build.yml GitHub action #2

Workflow file for this run

# Check the laserbeamFoam solvers compile correctly
name: Build
on:
workflow_dispatch:
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-22.04
strategy:
matrix:
container-image:
- name: "OpenFOAM-10"
image: "openfoam/openfoam10-paraview56:latest"
source: "/opt/openfoam10/etc/bashrc"
buildflags: "-j"
container:
image: ${{ matrix.container-image.image }}
steps:
- uses: actions/checkout@v3
- name: Allwmake
shell: bash -l {0}
run: |
source ${{ matrix.container-image.source }}
./Allwmake ${{ matrix.container-image.buildflags }}