forked from PaddlePaddle/FastDeploy
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (26 loc) · 722 Bytes
/
build.yml
File metadata and controls
31 lines (26 loc) · 722 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
name: Build
on: [pull_request]
jobs:
macOS-latest-py:
runs-on: macos-latest
steps:
- name: Clone
uses: actions/checkout@v1
- name: Get CMake
uses: lukka/get-cmake@latest
- name: Get Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Build FastDeploy
working-directory: ./python
run: |
export ENABLE_ORT_BACKEND=ON
export ENABLE_PADDLE_BACKEND=OFF
export ENABLE_OPENVINO_BACKEND=OFF
export ENABLE_VISION=ON
export ENABLE_TEXT=ON
python -m pip install wheel
python setup.py build
python setup.py bdist_wheel
ls -l