Skip to content

Merge pull request #191 from gerlero/configure #681

Merge pull request #191 from gerlero/configure

Merge pull request #191 from gerlero/configure #681

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 6 * * 5'
workflow_dispatch:
inputs:
use-cached:
type: boolean
default: false
required: false
description: Reuse cached build artifacts if available
build-os:
type: string
default: ''
required: false
description: Build using this macOS image
cache-build:
type: boolean
default: true
required: false
description: Cache build artifacts for later reuse
jobs:
ci:
strategy:
matrix:
openfoam-version: [2306, 2212, 2206, 2112]
fail-fast: false
uses: ./.github/workflows/build-test.yml
with:
openfoam-version: ${{ matrix.openfoam-version }}
build-os: ${{ inputs.build-os }}
use-cached: ${{ github.event_name == 'workflow_dispatch' && inputs.use-cached || github.event_name != 'workflow_dispatch' && github.event_name != 'schedule' }}
cache-build: ${{ github.event_name != 'workflow_dispatch' && inputs.cache-build || github.event_name != 'workflow_dispatch' }}