fix(fronted): 为适配torchvision模型,修改前端从而接调用cpu kernel #1139
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test cpu | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
- 'LICENSE' | |
pull_request: | |
paths: | |
- '**.md' | |
- 'LICENSE' | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
type: [debug, release] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: build ${{ matrix.type }} | |
run: make TYPE=${{ matrix.type }} | |
- name: test ${{ matrix.type }} | |
run: make test TYPE=${{ matrix.type }} |