fix postgresql: fix confusion with std::forward #8264
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: Docker | |
| 'on': | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| - develop | |
| - feature/** | |
| jobs: | |
| tests: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - cmake-flags: >- | |
| -DCMAKE_CXX_STANDARD=20 | |
| -DCPM_SOURCE_CACHE=/userver/.cpm | |
| -DUSERVER_USE_LD=gold | |
| -DUSERVER_NO_WERROR=0 | |
| -DUSERVER_BUILD_SAMPLES=1 | |
| -DUSERVER_BUILD_TESTS=1 | |
| -DUSERVER_FEATURE_CORE=1 | |
| -DCMAKE_BUILD_TYPE=Release | |
| gtest-filter: '*' | |
| image: ubuntu-22.04-userver-base | |
| info: ubuntu + gcc + cxx20 + core | |
| id: ubuntu_gcc_cxx20_core | |
| - cmake-flags: >- | |
| -DCMAKE_C_COMPILER=clang-16 | |
| -DCMAKE_CXX_COMPILER=clang++-16 | |
| -DCMAKE_CXX_STANDARD=20 | |
| -DCPM_SOURCE_CACHE=/userver/.cpm | |
| -DUSERVER_NO_WERROR=0 | |
| -DUSERVER_BUILD_ALL_COMPONENTS=1 | |
| -DUSERVER_FEATURE_ROCKS=0 | |
| -DUSERVER_BUILD_SAMPLES=1 | |
| -DUSERVER_BUILD_TESTS=1 | |
| -DCMAKE_BUILD_TYPE=Release | |
| gtest-filter: '-LoggingTest.Format:LoggingTest.CallFormat' | |
| image: ubuntu-22.04-userver-base-ci | |
| info: ubuntu + clang-16 + cxx20 | |
| id: ubuntu_clang16_cxx20 | |
| - cmake-flags: >- | |
| -DCMAKE_C_COMPILER=gcc-11 | |
| -DCMAKE_CXX_COMPILER=g++-11 | |
| -DCMAKE_CXX_STANDARD=20 | |
| -DCPM_SOURCE_CACHE=/userver/.cpm | |
| -DUSERVER_USE_LD=gold | |
| -DUSERVER_NO_WERROR=0 | |
| -DUSERVER_BUILD_ALL_COMPONENTS=1 | |
| -DUSERVER_FEATURE_ROCKS=0 | |
| -DUSERVER_BUILD_SAMPLES=1 | |
| -DUSERVER_BUILD_TESTS=1 | |
| -DCMAKE_BUILD_TYPE=Release | |
| gtest-filter: '*' | |
| image: ubuntu-22.04-userver-base-ci | |
| info: ubuntu + gcc-11 + cxx20 | |
| id: ubuntu_gcc11_cxx20 | |
| - cmake-flags: >- | |
| -DCMAKE_C_COMPILER=gcc-13 | |
| -DCMAKE_CXX_COMPILER=g++-13 | |
| -DCMAKE_CXX_STANDARD=20 | |
| -DCPM_SOURCE_CACHE=/userver/.cpm | |
| -DUSERVER_USE_LD=gold | |
| -DUSERVER_NO_WERROR=1 | |
| -DUSERVER_BUILD_ALL_COMPONENTS=1 | |
| -DUSERVER_FEATURE_ROCKS=0 | |
| -DUSERVER_BUILD_SAMPLES=1 | |
| -DUSERVER_BUILD_TESTS=1 | |
| -DCMAKE_BUILD_TYPE=Release | |
| gtest-filter: '-LoggingTest.Format:LoggingTest.CallFormat' | |
| image: ubuntu-22.04-userver-base-ci | |
| info: ubuntu + gcc-13 + cxx20 | |
| id: ubuntu_gcc13_cxx20 | |
| runs-on: ubuntu-latest | |
| name: '${{ matrix.info }}' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install packages | |
| run: | | |
| sudo apt install -y docker-compose | |
| - name: Restore cached directories | |
| id: restore-cache | |
| uses: actions/cache/restore@v5 | |
| with: | |
| path: | | |
| .ccache | |
| .cpm | |
| key: 'docker-cache-dir ${{matrix.id}} ${{github.ref}} run-${{github.run_number}}' | |
| restore-keys: | | |
| docker-cache-dir ${{matrix.id}} ${{github.ref}} | |
| docker-cache-dir ${{matrix.id}} | |
| - name: Free disk space | |
| run: ./scripts/githubci_free_space.sh | |
| - name: Setup ccache | |
| run: docker-compose -f .github/docker-compose.yml run --rm ${{ matrix.image }} bash -c 'ccache -M 2.0GB && ccache | |
| -s -v' | |
| - name: Run cmake | |
| run: >- | |
| docker-compose -f .github/docker-compose.yml | |
| run --rm ${{ matrix.image }} bash -c | |
| 'cd /userver && cmake -DUSERVER_GOOGLE_COMMON_PROTOS=/app/api-common-protos | |
| -DUSERVER_OPENTELEMETRY_PROTO=/app/opentelemetry-proto | |
| ${{ matrix.cmake-flags }} -B./build -S./' | |
| - name: Reconfigure cmake | |
| run: >- | |
| docker-compose -f .github/docker-compose.yml | |
| run --rm ${{ matrix.image }} bash -c | |
| 'cd /userver && cmake -DUSERVER_GOOGLE_COMMON_PROTOS=/app/api-common-protos | |
| -DUSERVER_OPENTELEMETRY_PROTO=/app/opentelemetry-proto | |
| ${{ matrix.cmake-flags }} -B./build -S./' | |
| - name: Compile | |
| run: >- | |
| docker-compose -f .github/docker-compose.yml | |
| run --rm ${{ matrix.image }} bash -c | |
| 'cd /userver && cmake --build build -j $(nproc)' | |
| - name: Save cached directories | |
| uses: actions/cache/save@v5 | |
| with: | |
| path: | | |
| .ccache | |
| .cpm | |
| key: ${{ steps.restore-cache.outputs.cache-primary-key }} | |
| - name: Run ydb | |
| if: matrix.id == 'ubuntu_clang16_cxx20' || matrix.id == 'ubuntu_gcc13_cxx20' | |
| run: docker-compose -f .github/docker-compose.yml run -d --rm run-ydb | |
| - name: Watch ydb | |
| if: matrix.id == 'ubuntu_clang16_cxx20' || matrix.id == 'ubuntu_gcc13_cxx20' | |
| run: >- | |
| docker-compose -f .github/docker-compose.yml | |
| run --rm ${{ matrix.image}} bash -c | |
| 'curl --retry 15 --retry-all-errors --retry-delay 5 -s -o /dev/null | |
| http://run-ydb:8765/monitoring/ -v' | |
| - name: Run tests | |
| run: >- | |
| docker-compose -f .github/docker-compose.yml | |
| run --rm ${{ matrix.image}} bash -c | |
| 'cd /userver/build && ulimit -n 4096 && GTEST_FILTER="${{ matrix.gtest-filter | |
| }}" TESTSUITE_REDIS_HOSTNAME=::1 ctest -V' |