Skip to content

style: 格式化所有文件 #1230

style: 格式化所有文件

style: 格式化所有文件 #1230

Workflow file for this run

name: Build and test cpu
on:
pull_request:
push:
paths-ignore:
- '**.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: check format
run: python3 format.py --path src --check
- name: build ${{ matrix.type }}
run: make TYPE=${{ matrix.type }}
- name: test ${{ matrix.type }}
run: make test TYPE=${{ matrix.type }}