perf: collapse same-type aligned batch_bool_constant load to a select #3182
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: style check | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| formatting-check: | |
| name: Format check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: sudo apt install clang-format | |
| - run: | | |
| git fetch origin ${{ github.event.pull_request.base.sha }} | |
| git clang-format --diff ${{ github.event.pull_request.base.sha }} | tee diff.patch | |
| ! grep -q '^diff ' diff.patch | |
| inlining-check: | |
| runs-on: ubuntu-latest | |
| name: Check inline keyword usage | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: sudo apt install clang-tools | |
| - run: sh ./test/check_inline_specifier.sh . | |
| include-check: | |
| runs-on: ubuntu-latest | |
| name: Check unused standard includes | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: pip install diskarzhan | |
| - run: diskarzhan `find -name '*.[ch]pp'` | |
| clang-tidy-check: | |
| name: Clang-tidy check (x86_64) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: sudo apt install clang-tidy | |
| - name: Configure | |
| run: cmake -B _build | |
| -DCMAKE_CXX_COMPILER=clang++ | |
| -DBUILD_TESTS=ON | |
| -DDOWNLOAD_DOCTEST=ON | |
| -DCMAKE_BUILD_TYPE=Debug | |
| -DCMAKE_EXPORT_COMPILE_COMMANDS=ON | |
| -DCMAKE_CXX_FLAGS='-march=tigerlake' | |
| . | |
| - name: Check | |
| run: run-clang-tidy -p _build |