Add handling of unexpected end of data stream #112
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: C CI | |
| on: [push, pull_request] | |
| jobs: | |
| ubuntu20: | |
| runs-on: ubuntu-20.04 | |
| env: | |
| CC: gcc | |
| CXX: g++ | |
| CXXFLAGS: -Werror -Wall -pedantic | |
| BUILD_TYPE: Debug | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/install-ubuntu | |
| - uses: ./.github/actions/build | |
| ubuntu22: | |
| runs-on: ubuntu-22.04 | |
| env: | |
| CC: gcc | |
| CXX: g++ | |
| CXXFLAGS: -Werror -Wall -pedantic | |
| BUILD_TYPE: Debug | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/install-ubuntu | |
| - uses: ./.github/actions/build | |
| ubuntu22-clang: | |
| runs-on: ubuntu-22.04 | |
| env: | |
| CC: clang-15 | |
| CXX: clang++-15 | |
| CXXFLAGS: -Werror -Wall -pedantic | |
| BUILD_TYPE: Debug | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/install-ubuntu | |
| - uses: ./.github/actions/build | |
| ubuntu22-release: | |
| runs-on: ubuntu-22.04 | |
| env: | |
| CC: gcc | |
| CXX: g++ | |
| # disabled array-bounds warning because it is triggered by code generated by the protoc compiler | |
| CXXFLAGS: -Werror -Wall -pedantic -Wno-array-bounds | |
| BUILD_TYPE: Release | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/install-ubuntu | |
| - uses: ./.github/actions/build | |
| macos: | |
| runs-on: macos-latest | |
| env: | |
| CC: clang | |
| CXX: clang++ | |
| CXXFLAGS: -Werror -Wall -pedantic | |
| BUILD_TYPE: Debug | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/install-macos | |
| - uses: ./.github/actions/build | |
| windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/install-windows | |
| - uses: ./.github/actions/build-windows | |