Skip to content

Commit d8cfe2a

Browse files
committed
wip: macos test
1 parent ce4f8db commit d8cfe2a

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/macos-test.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
if: steps.cache-libs.outputs.cache-hit != 'true'
6868
run: |
6969
unset ANDROID_NDK_HOME
70-
python build.py build --desktop cpu --opencv cmake -vv
70+
python build.py build --desktop cpu --opencv cmake --bazel_build_opts='--macos_minimum_os=13.0 --host_macos_minimum_os=13.0 --subcommands=pretty_print' -vv
7171
7272
- name: Package
7373
run: |
@@ -86,6 +86,20 @@ jobs:
8686
path: /private/var/tmp/_bazel_runner
8787
key: bazel-macos-14-v1-${{ hashFiles('WORKSPACE') }}-${{ hashFiles('cache_key.txt') }}
8888

89+
check:
90+
runs-on: macos-13
91+
needs: build
92+
steps:
93+
- name: Download built artifacts
94+
uses: actions/download-artifact@v4
95+
with:
96+
name: macos-package
97+
98+
- name: Check
99+
run: |
100+
tar xvf artifacts.tar
101+
ldd Packages/com.github.homuler.mediapipe/Runtime/Plugins/libmediapipe_c.dylib
102+
89103
test:
90104
runs-on: ${{ matrix.os }}
91105
needs: build

0 commit comments

Comments
 (0)