Update username #7
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: CI Tests | |
| on: | |
| push: | |
| pull_request: | |
| branches: ["main"] | |
| env: | |
| BUILD_DIR: "${{ github.workspace }}/build" | |
| SRC_DIR: "${{ github.workspace }}" | |
| jobs: | |
| # test: | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - name: Install dependencies | |
| # run: sudo apt-get install -y build-essential gcc-multilib g++-multilib | |
| # - name: Install gcovr | |
| # run: pip install gcovr | |
| # - name: Setup project | |
| # run: cmake -S ${SRC_DIR} -B ${BUILD_DIR} -DCMAKE_BUILD_TYPE=Debug | |
| # - name: Build | |
| # run: cmake --build ${BUILD_DIR} | |
| # # - name: Test | |
| # # working-directory: build | |
| # # run: ctest -V | |
| # # - name: Test with Coverage | |
| # # working-directory: build | |
| # # run: cmake --build ${BUILD_DIR} --target os_test_coverage | |
| lint: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| path: | |
| - controllers/swerve | |
| - libraries/base | |
| - libraries/util | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Lint code | |
| uses: jidicula/[email protected] | |
| with: | |
| clang-format-version: "18" | |
| check-path: ${{ matrix.path }} |