Unverified Commit e60331ea authored by Robert Edmonds's avatar Robert Edmonds Committed by GitHub

Merge branch 'next' into clean-cmake

parents 33e1af96 dbfbfeeb
...@@ -5,8 +5,9 @@ on: ...@@ -5,8 +5,9 @@ on:
- master - master
- next - next
pull_request: pull_request:
types: [ opened, reopened, synchronize, edited, ready_for_review, review_requested ]
schedule: schedule:
- cron: '0 0 * * 0' # Every Sunday at 00:00 - cron: '0 0 * * 5' # Every Friday at 00:00
jobs: jobs:
distcheck: distcheck:
strategy: strategy:
...@@ -15,7 +16,7 @@ jobs: ...@@ -15,7 +16,7 @@ jobs:
fail-fast: false fail-fast: false
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Install Linux dependencies - name: Install Linux dependencies
if: startsWith(matrix.os, 'ubuntu') if: startsWith(matrix.os, 'ubuntu')
run: | run: |
...@@ -41,8 +42,8 @@ jobs: ...@@ -41,8 +42,8 @@ jobs:
- arch: ppc64le - arch: ppc64le
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2.0.9 - uses: uraimo/run-on-arch-action@v2
name: Install dependencies and run distcheck name: Install dependencies and run distcheck
id: runcmd id: runcmd
with: with:
...@@ -62,7 +63,7 @@ jobs: ...@@ -62,7 +63,7 @@ jobs:
valgrind: valgrind:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get update -y sudo apt-get update -y
...@@ -76,7 +77,7 @@ jobs: ...@@ -76,7 +77,7 @@ jobs:
coverage: coverage:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get update -y sudo apt-get update -y
...@@ -102,7 +103,7 @@ jobs: ...@@ -102,7 +103,7 @@ jobs:
fail-fast: false fail-fast: false
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Install Linux dependencies - name: Install Linux dependencies
if: startsWith(matrix.os, 'ubuntu') if: startsWith(matrix.os, 'ubuntu')
run: | run: |
...@@ -130,16 +131,16 @@ jobs: ...@@ -130,16 +131,16 @@ jobs:
PROTOBUF_VERSION: 24.3 PROTOBUF_VERSION: 24.3
ABSEIL_VERSION: "20230802.0" ABSEIL_VERSION: "20230802.0"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1 - uses: ilammy/msvc-dev-cmd@v1
with: with:
arch: amd64 arch: amd64
- uses: actions/cache@v2 - uses: actions/cache@v4
id: protobuf-cache id: protobuf-cache
with: with:
path: ~/protobuf-bin path: ~/protobuf-bin
key: ${{ env.PROTOBUF_VERSION }}-${{ matrix.shared-lib }}-${{ matrix.build-type}} key: ${{ env.PROTOBUF_VERSION }}-${{ matrix.shared-lib }}-${{ matrix.build-type}}
- uses: actions/cache@v2 - uses: actions/cache@v4
id: abseil-cache id: abseil-cache
with: with:
path: ~/abseil-bin path: ~/abseil-bin
......
...@@ -95,7 +95,7 @@ class PROTOC_C_EXPORT CGenerator : public CodeGenerator { ...@@ -95,7 +95,7 @@ class PROTOC_C_EXPORT CGenerator : public CodeGenerator {
std::string* error) const; std::string* error) const;
#if GOOGLE_PROTOBUF_VERSION >= 5026000 #if GOOGLE_PROTOBUF_VERSION >= 5026000
uint64_t GetSupportedFeatures() const { return CodeGenerator::FEATURE_SUPPORTS_EDITIONS; } uint64_t GetSupportedFeatures() const { return 0; }
Edition GetMinimumEdition() const { return Edition::EDITION_PROTO2; } Edition GetMinimumEdition() const { return Edition::EDITION_PROTO2; }
Edition GetMaximumEdition() const { return Edition::EDITION_PROTO3; } Edition GetMaximumEdition() const { return Edition::EDITION_PROTO3; }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment