refactor(#837): decouple allocator from QSBR, make art_allocator.hpp header-only #2417
Workflow file for this run
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: "CodeQL" | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| permissions: {} | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: ["cpp"] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 # zizmor: ignore[unpinned-uses] | |
| with: | |
| submodules: true | |
| persist-credentials: false | |
| - name: Setup dependencies for Linux | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libboost-dev libc6-dev-i386 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 # zizmor: ignore[unpinned-uses] | |
| with: | |
| languages: ${{ matrix.language }} | |
| build-mode: manual | |
| - name: Configure CMake | |
| # Use a bash shell so we can use the same syntax for environment | |
| # variable access regardless of the host operating system | |
| shell: bash | |
| run: | | |
| cmake -B build "$GITHUB_WORKSPACE" -DCMAKE_BUILD_TYPE=Release \ | |
| -DSTANDALONE=ON | |
| - name: Build | |
| working-directory: ${{github.workspace}}/build | |
| run: make -j3 -k | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 # zizmor: ignore[unpinned-uses] |