fix: 解决一些warning,并把sync操作从算子内部移除 #1150
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 }} |