Merge pull request #306 from gerlero/update-pixi #1127
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_call: | |
inputs: | |
app-version: | |
type: string | |
required: true | |
workflow_dispatch: | |
inputs: | |
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 }} | |
cache-build: ${{ github.event_name == 'workflow_dispatch' && inputs.cache-build || github.event_name != 'workflow_dispatch' }} |