✨ feat(r_square): 添加R²计算功能,更新二次拟合函数参数,优化测试用例 #3
This file contains hidden or 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-run | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - '**/*.c' | |
| - '**/*.h' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install build tools | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential gcc make tree check | |
| - name: Test project | |
| run: | | |
| cd test | |
| make test |