encode with cache + dyntab find #57
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: build_and_test | |
| on: push | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04] | |
| compiler: [g++-12, clang++-14] | |
| cpp_standard: [20] | |
| build_type: [Debug, Release] | |
| runs-on: ${{matrix.os}} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install ninja-build lld gcc-12 clang-14 | |
| sudo ln -sf /usr/local/bin/ld /usr/bin/lld | |
| - name: Configure CMake | |
| run: | | |
| cmake . -DHPACK_ENABLE_TESTING=ON \ | |
| -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ | |
| -DCMAKE_CXX_COMPILER=${{matrix.compiler}} \ | |
| -DCMAKE_CXX_STANDARD=${{matrix.cpp_standard}} \ | |
| -B build -G "Ninja" | |
| - name: Build | |
| run: | |
| cmake --build build | |
| - name: Test | |
| run: | | |
| cd build | |
| ctest --output-on-failure -C ${{matrix.build_type}} | |
| - name: Configure CMake sanitizers | |
| run: | | |
| cmake . -DHPACK_ENABLE_TESTING=ON \ | |
| -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ | |
| -DCMAKE_CXX_COMPILER=${{matrix.compiler}} \ | |
| -DCMAKE_CXX_STANDARD=${{matrix.cpp_standard}} \ | |
| -DHPACK_ENABLE_SANITIZERS=ON \ | |
| -B build_sanitizers -G "Ninja" | |
| - name: Build | |
| run: | |
| cmake --build build_sanitizers | |
| - name: Test sanitizers | |
| run: | | |
| cd build_sanitizers | |
| ctest --output-on-failure -C ${{matrix.build_type}} |