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
31ad461e
Commit
31ad461e
authored
Jan 18, 2025
by
Robert Edmonds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build.yml: Use actions/checkout@v4 to check out abseil and protobuf
parent
b32d4e35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
11 deletions
+26
-11
.github/workflows/build.yml
.github/workflows/build.yml
+26
-11
No files found.
.github/workflows/build.yml
View file @
31ad461e
...
...
@@ -120,26 +120,41 @@ jobs:
cmake --build "build" --target install
cmake-msvc
:
runs-on
:
windows-latest
strategy
:
matrix
:
build-type
:
[
Debug
,
Release
]
shared-lib
:
[
ON
,
OFF
]
fail-fast
:
false
name
:
"
MSVC
CMake
(${{
matrix.build-type
}},
DLL:
${{
matrix.shared-lib
}})"
runs-on
:
windows-latest
env
:
PROTOBUF_VERSION
:
"
v29.3"
ABSEIL_VERSION
:
"
20240722.0"
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
ilammy/msvc-dev-cmd@v1
with
:
arch
:
amd64
-
name
:
Checkout protobuf-c
uses
:
actions/checkout@v4
-
name
:
Checkout abseil
uses
:
actions/checkout@v4
with
:
repository
:
abseil/abseil-cpp
path
:
"
abseil"
ref
:
"
20240722.0"
-
name
:
Checkout protobuf
uses
:
actions/checkout@v4
with
:
repository
:
protocolbuffers/protobuf
path
:
"
protobuf"
ref
:
"
v29.3"
-
name
:
Build and install abseil
working-directory
:
"
./abseil"
run
:
|
cd ~
git clone --depth=1 https://github.com/abseil/abseil-cpp.git -b ${{ env.ABSEIL_VERSION }} abseil
cd ~/abseil
cmake -B build -G "NMake Makefiles" `
-DCMAKE_CXX_STANDARD=17 `
-DCMAKE_INSTALL_PREFIX=~/abseil-bin `
...
...
@@ -150,11 +165,10 @@ jobs:
;
cmake --build "build" -j4
cmake --build "build" --target install
-
name
:
Build and install protobuf
working-directory
:
"
./protobuf"
run
:
|
cd ~
git clone --depth=1 https://github.com/protocolbuffers/protobuf.git -b ${{ env.PROTOBUF_VERSION }} protobuf
cd ~/protobuf
cmake -B build -G "NMake Makefiles" `
-DCMAKE_CXX_STANDARD=17 `
-DCMAKE_INSTALL_PREFIX=~/protobuf-bin `
...
...
@@ -169,6 +183,7 @@ jobs:
;
cmake --build "build" -j4
cmake --build "build" --target install
-
name
:
Run cmake tests
run
:
|
cmake -B build -G "NMake Makefiles" `
...
...
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