Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
protobuf-c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
spbro
protobuf-c
Commits
e60331ea
Unverified
Commit
e60331ea
authored
Jan 18, 2025
by
Robert Edmonds
Committed by
GitHub
Jan 18, 2025
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'next' into clean-cmake
parents
33e1af96
dbfbfeeb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
.github/workflows/build.yml
.github/workflows/build.yml
+11
-10
protoc-c/c_generator.h
protoc-c/c_generator.h
+1
-1
No files found.
.github/workflows/build.yml
View file @
e60331ea
...
...
@@ -5,8 +5,9 @@ on:
-
master
-
next
pull_request
:
types
:
[
opened
,
reopened
,
synchronize
,
edited
,
ready_for_review
,
review_requested
]
schedule
:
-
cron
:
'
0
0
*
*
0'
# Every Sun
day at 00:00
-
cron
:
'
0
0
*
*
5'
# Every Fri
day at 00:00
jobs
:
distcheck
:
strategy
:
...
...
@@ -15,7 +16,7 @@ jobs:
fail-fast
:
false
runs-on
:
${{ matrix.os }}
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
4
-
name
:
Install Linux dependencies
if
:
startsWith(matrix.os, 'ubuntu')
run
:
|
...
...
@@ -41,8 +42,8 @@ jobs:
-
arch
:
ppc64le
fail-fast
:
false
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
uraimo/run-on-arch-action@v2
.0.9
-
uses
:
actions/checkout@v
4
-
uses
:
uraimo/run-on-arch-action@v2
name
:
Install dependencies and run distcheck
id
:
runcmd
with
:
...
...
@@ -62,7 +63,7 @@ jobs:
valgrind
:
runs-on
:
ubuntu-20.04
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
4
-
name
:
Install dependencies
run
:
|
sudo apt-get update -y
...
...
@@ -76,7 +77,7 @@ jobs:
coverage
:
runs-on
:
ubuntu-20.04
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
4
-
name
:
Install dependencies
run
:
|
sudo apt-get update -y
...
...
@@ -102,7 +103,7 @@ jobs:
fail-fast
:
false
runs-on
:
${{ matrix.os }}
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
4
-
name
:
Install Linux dependencies
if
:
startsWith(matrix.os, 'ubuntu')
run
:
|
...
...
@@ -130,16 +131,16 @@ jobs:
PROTOBUF_VERSION
:
24.3
ABSEIL_VERSION
:
"
20230802.0"
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
4
-
uses
:
ilammy/msvc-dev-cmd@v1
with
:
arch
:
amd64
-
uses
:
actions/cache@v
2
-
uses
:
actions/cache@v
4
id
:
protobuf-cache
with
:
path
:
~/protobuf-bin
key
:
${{ env.PROTOBUF_VERSION }}-${{ matrix.shared-lib }}-${{ matrix.build-type}}
-
uses
:
actions/cache@v
2
-
uses
:
actions/cache@v
4
id
:
abseil-cache
with
:
path
:
~/abseil-bin
...
...
protoc-c/c_generator.h
View file @
e60331ea
...
...
@@ -95,7 +95,7 @@ class PROTOC_C_EXPORT CGenerator : public CodeGenerator {
std
::
string
*
error
)
const
;
#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
GetMaximumEdition
()
const
{
return
Edition
::
EDITION_PROTO3
;
}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment