Skip to content

Commit

Permalink
CI: Bump ubuntu to 24.04
Browse files Browse the repository at this point in the history
Ubuntu 20.04 fails to build with protoc 3.6.1.3.
app_processes.proto:29:14: Explicit 'optional' labels are disallowed in the Proto3 syntax.
To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.

Ubuntu 22.04 fails to build with protoc 3.12.4.
app_processes.proto: This file contains proto3 optional fields, but --experimental_allow_proto3_optional was not set.

clang-14 in Ubuntu fails to build.
chrono:2360:48: error: call to consteval function 'std::chrono::hh_mm_ss::_S_fractional_width' is not a constant expression
chrono:2360:48: note: undefined function '_S_fractional_width' cannot be used in a constant expression
  • Loading branch information
Biswa96 committed Aug 11, 2024
1 parent 1429993 commit e6fe714
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq \
${{ matrix.pkgs }} cmake git golang libbrotli-dev \
libgtest-dev liblz4-dev libpcre2-dev libprotobuf-dev libunwind-dev \
libzstd-dev make pandoc pkg-config
libzstd-dev make pandoc pkg-config xz-utils
- name: checkout
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -68,12 +68,12 @@ jobs:
- os: "archlinux:base"
pkgs: clang
env1: "CC=clang CXX=clang++"
- os: "ubuntu:20.04"
- os: "ubuntu:24.04"
pkgs: "gcc-10 g++-10"
env1: "CC=gcc-10 CXX=g++-10"
- os: "ubuntu:20.04"
pkgs: "clang-11 libstdc++-10-dev"
env1: "CC=clang-11 CXX=clang++-11"
- os: "ubuntu:24.04"
pkgs: "clang-15 libstdc++-10-dev"
env1: "CC=clang-15 CXX=clang++-15"
- os: "alpine"
pkgs: "gcc"
env1: "CC=gcc CXX=g++"
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
DEBIAN_FRONTEND=noninteractive apt-get install -yq \
${{ matrix.pkgs }} cmake git golang libbrotli-dev \
libgtest-dev liblz4-dev libpcre2-dev libprotobuf-dev libunwind-dev \
libzstd-dev pkg-config protobuf-compiler ninja-build
libzstd-dev pkg-config protobuf-compiler ninja-build xz-utils
- name: prep alpine
if: startsWith(matrix.os, 'alpine')
Expand Down

0 comments on commit e6fe714

Please sign in to comment.