未验证 提交 e20ed307 编写于 作者: B BUG1989 提交者: GitHub

Update build-and-test.yml

上级 627cc0c7
......@@ -188,13 +188,13 @@ jobs:
cmake --build . --config Release -j 2
linux-x64-cpu-timvx-gcc:
linux-x64-timvx-gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: update
run: sudo apt-get update
- name: protobuf
- name: libopencv
run: sudo apt-get install libopencv-dev
- name: tim-vx
run: |
......@@ -214,6 +214,23 @@ jobs:
run: cmake --build build -j 2
linux-aarch64-timvx-gcc:
runs-on: vim3
steps:
- uses: actions/checkout@v3
- name: tim-vx
run: |
git clone https://github.com/VeriSilicon/TIM-VX.git
cp -rvf ./TIM-VX/include ./source/device/tim-vx/
cp -rvf ./TIM-VX/src ./source/device/tim-vx/
rm ./source/device/tim-vx/src/tim/vx/*_test.cc
rm ./source/device/tim-vx/src/tim/vx/ops/*_test.cc
- name: configure
run: mkdir build && cd build && cmake -DTENGINE_BUILD_TESTS=ON -DTENGINE_ENABLE_TIM_VX=ON ..
- name: build
run: cmake --build build -j 4
linux-x64-cpu-gcc:
runs-on: ubuntu-latest
steps:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册