remove clang format #2
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, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| workflow_dispatch: | |
| jobs: | |
| build-and-test: | |
| name: Build & Test | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| env: | |
| CC: gcc-14 | |
| CXX: g++-14 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install GCC-14 | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y g++-14 | |
| - name: Cache GoogleTest | |
| uses: actions/cache@v4 | |
| with: | |
| path: build/_deps/googletest-src | |
| key: googletest-v1.14.0-${{ runner.os }} | |
| - name: Configure | |
| run: cmake -B build -DCMAKE_BUILD_TYPE=Debug | |
| - name: Build | |
| run: cmake --build build -j "$(nproc)" | |
| - name: Test | |
| working-directory: build | |
| run: ctest --output-on-failure --timeout 60 -j "$(nproc)" | |
| - name: Upload test logs on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-logs | |
| path: build/Testing/ |