Skip to content

CI

CI #1060

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 6 * * 5'
workflow_call:
inputs:
app-version:
type: string
required: true
workflow_dispatch:
inputs:
deps-kind:
type: choice
required: false
description: Bundle dependencies in this manner
options:
- ''
- standalone
- bundled
- homebrew
cache-build:
type: boolean
default: true
required: false
description: Cache build artifacts for later reuse
jobs:
ci:
strategy:
matrix:
build-os: [macos-14, macos-12]
openfoam-version: [2406, 2312]
fail-fast: false
uses: ./.github/workflows/build-test.yml
with:
build-os: ${{ matrix.build-os }}
openfoam-version: ${{ matrix.openfoam-version }}
app-version: ${{ inputs.app-version }}
deps-kind: ${{ inputs.deps-kind }}
cache-build: ${{ github.event_name == 'workflow_dispatch' && inputs.cache-build || github.event_name != 'workflow_dispatch' }}