forked from nnstreamer/nnstreamer
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 958 Bytes
/
macos.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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