[Action] Fix for failure case #103
Workflow file for this run
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: macos | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Build on MacOS-latest with Meson | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Check if rebuild required | |
uses: ./.github/actions/check-rebuild | |
with: | |
mode: rebuild | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: homebrew | |
if: env.rebuild == '1' | |
run: | | |
# temporarily disabled, because it always fails these days. | |
# brew update | |
brew install cask | |
- name: install minimal requirements | |
if: env.rebuild == '1' | |
run: brew install meson ninja pkg-config cmake libffi glib gstreamer numpy json-glib | |
- uses: BSFishy/[email protected] | |
if: env.rebuild == '1' | |
with: | |
action: build | |
# TODO: add more subplugins to be built | |
# TODO: add unit testing | |
# TODO: add valgrind testing |