docs: Link benchmark to interactive results page #95
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install System Dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| git \ | |
| wget \ | |
| pkg-config \ | |
| g++ \ | |
| zip \ | |
| zlib1g-dev \ | |
| unzip \ | |
| python3 \ | |
| ca-certificates \ | |
| clang-format-19 \ | |
| cpplint \ | |
| libeigen3-dev \ | |
| libgtest-dev | |
| - name: Set up Bazel 9 | |
| uses: bazel-contrib/setup-bazel@0.19.0 | |
| with: | |
| bazelisk-cache: true | |
| disk-cache: ${{ github.workflow }} | |
| repository-cache: true | |
| - name: Code Format Check | |
| uses: jidicula/clang-format-action@v4.14.0 | |
| with: | |
| clang-format-version: '19' | |
| check-path: '.' | |
| fallback-style: 'Google' | |
| - name: Code Lint | |
| uses: reviewdog/action-cpplint@master | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| reporter: github-pr-review | |
| flags: '--extensions=h,hpp,c,cpp,cc,cu,hh,ipp --filter=-build/include_order,-whitespace/indent_namespace --recursive include' | |
| - name: Verify | |
| run: | | |
| bazel run verify | |
| - name: Build | |
| run: | | |
| bazel run simple | |
| bazel run constrained_simple | |
| bazel run constrained_simple2 | |
| bazel run debug | |
| - name: Configure and Build with CMake | |
| run: | | |
| mkdir -p build | |
| cd build | |
| cmake .. -DCMAKE_BUILD_TYPE=Release | |
| cmake --build . | |
| ctest --output-on-failure |