feat(utils): 支持通过环境变量设置日志级别 #863
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 }} |