From 56e4e56abc3d8a11e3a8e1d8043d88c2d5bd7b83 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 2 Feb 2023 16:37:52 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 58 +------------------------------------ 1 file changed, 1 insertion(+), 57 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a83c0702..d1569f65a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,25 +1,7 @@ name: Build -on: [push, pull_request] +on: [pull_request] jobs: - macOS-latest-cpp: - runs-on: macOS-latest - - steps: - - name: Clone - uses: actions/checkout@v1 - - - name: Get CMake - uses: lukka/get-cmake@latest - - - name: Build FastDeploy - run: | - mkdir build - cd build - cmake .. -DENABLE_ORT_BACKEND=ON -DENABLE_PADDLE_BACKEND=OFF -DENABLE_OPENVINO_BACKEND=OFF -DCMAKE_INSTALL_PREFIX=${PWD}/compiled_fastdeploy_sdk -DENABLE_VISION=ON -DENABLE_TEXT=ON - make -j12 - make install - ls -l macOS-latest-py: runs-on: macos-latest @@ -47,41 +29,3 @@ jobs: python setup.py build python setup.py bdist_wheel ls -l - linux-aarch64-py: - runs-on: ubuntu-18.04 - name: Build on ubuntu-18.04 aarch64 - steps: - - uses: actions/checkout@v3 - - uses: uraimo/run-on-arch-action@v2 - name: Run commands - id: runcmd - with: - arch: aarch64 - distro: ubuntu18.04 - run: | - uname -a - echo ::set-output name=uname::$(uname -a) - - - 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