forked from alibaba/MNN
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 985 Bytes
/
Copy pathmacos.yml
File metadata and controls
37 lines (35 loc) · 985 Bytes
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
name: macos
on:
push:
branches:
- master
- 'feature/**'
paths:
- 'source/**'
- 'express/**'
- 'test/**'
- '.github/workflows/macos.yml'
pull_request:
branches: [master]
paths:
- 'source/**'
- 'express/**'
- 'test/**'
- '.github/workflows/macos.yml'
concurrency:
group: macos-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
macos_buil_test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: build
run: |
mkdir build && cd build
cmake .. -DMNN_BUILD_TEST=ON -DLLM_SUPPORT_VISION=true -DMNN_BUILD_OPENCV=true -DMNN_IMGCODECS=true -DMNN_LOW_MEMORY=true -DMNN_CPU_WEIGHT_DEQUANT_GEMM=true -DMNN_BUILD_LLM=true -DMNN_SUPPORT_TRANSFORMER_FUSE=true -DLLM_SUPPORT_AUDIO=true -DMNN_BUILD_AUDIO=true -DMNN_OPENCL=ON -DMNN_VULKAN=ON
make -j4
- name: test
run: cd build && ./run_test.out