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
b32d4e35
Commit
b32d4e35
authored
Jan 18, 2025
by
Robert Edmonds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build.yml: The PowerShell line continuation character is the BACKTICK?!
parent
83f9df4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
25 deletions
+25
-25
.github/workflows/build.yml
.github/workflows/build.yml
+25
-25
No files found.
.github/workflows/build.yml
View file @
b32d4e35
...
@@ -140,13 +140,13 @@ jobs:
...
@@ -140,13 +140,13 @@ jobs:
cd ~
cd ~
git clone --depth=1 https://github.com/abseil/abseil-cpp.git -b ${{ env.ABSEIL_VERSION }} abseil
git clone --depth=1 https://github.com/abseil/abseil-cpp.git -b ${{ env.ABSEIL_VERSION }} abseil
cd ~/abseil
cd ~/abseil
cmake -B build -G "NMake Makefiles"
\
cmake -B build -G "NMake Makefiles"
`
-DCMAKE_CXX_STANDARD=17
\
-DCMAKE_CXX_STANDARD=17
`
-DCMAKE_INSTALL_PREFIX=~/abseil-bin
\
-DCMAKE_INSTALL_PREFIX=~/abseil-bin
`
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
\
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
`
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded${{ matrix.build-type == 'Debug' && 'Debug' || '' }}${{ matrix.shared-lib == 'ON' && 'DLL' || '' }}
\
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded${{ matrix.build-type == 'Debug' && 'Debug' || '' }}${{ matrix.shared-lib == 'ON' && 'DLL' || '' }}
`
-DABSL_PROPAGATE_CXX_STD=ON
\
-DABSL_PROPAGATE_CXX_STD=ON
`
-DBUILD_SHARED_LIBS=${{ matrix.shared-lib }}
\
-DBUILD_SHARED_LIBS=${{ matrix.shared-lib }}
`
;
;
cmake --build "build" -j4
cmake --build "build" -j4
cmake --build "build" --target install
cmake --build "build" --target install
...
@@ -155,29 +155,29 @@ jobs:
...
@@ -155,29 +155,29 @@ jobs:
cd ~
cd ~
git clone --depth=1 https://github.com/protocolbuffers/protobuf.git -b ${{ env.PROTOBUF_VERSION }} protobuf
git clone --depth=1 https://github.com/protocolbuffers/protobuf.git -b ${{ env.PROTOBUF_VERSION }} protobuf
cd ~/protobuf
cd ~/protobuf
cmake -B build -G "NMake Makefiles"
\
cmake -B build -G "NMake Makefiles"
`
-DCMAKE_CXX_STANDARD=17
\
-DCMAKE_CXX_STANDARD=17
`
-DCMAKE_INSTALL_PREFIX=~/protobuf-bin
\
-DCMAKE_INSTALL_PREFIX=~/protobuf-bin
`
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
\
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
`
-DABSL_PROPAGATE_CXX_STD=ON
\
-DABSL_PROPAGATE_CXX_STD=ON
`
-Dabsl_ROOT=~/abseil-bin
\
-Dabsl_ROOT=~/abseil-bin
`
-Dprotobuf_ABSL_PROVIDER=package
\
-Dprotobuf_ABSL_PROVIDER=package
`
-Dprotobuf_BUILD_EXAMPLES=OFF
\
-Dprotobuf_BUILD_EXAMPLES=OFF
`
-Dprotobuf_BUILD_LIBUPB=OFF
\
-Dprotobuf_BUILD_LIBUPB=OFF
`
-Dprotobuf_BUILD_SHARED_LIBS=${{ matrix.shared-lib }}
\
-Dprotobuf_BUILD_SHARED_LIBS=${{ matrix.shared-lib }}
`
-Dprotobuf_BUILD_TESTS=OFF
\
-Dprotobuf_BUILD_TESTS=OFF
`
;
;
cmake --build "build" -j4
cmake --build "build" -j4
cmake --build "build" --target install
cmake --build "build" --target install
-
name
:
Run cmake tests
-
name
:
Run cmake tests
run
:
|
run
:
|
cmake -B build -G "NMake Makefiles"
\
cmake -B build -G "NMake Makefiles"
`
-DCMAKE_INSTALL_PREFIX=~/protobuf-c-bin
\
-DCMAKE_INSTALL_PREFIX=~/protobuf-c-bin
`
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
\
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
`
-DBUILD_TESTS=ON
\
-DBUILD_TESTS=ON
`
-DBUILD_SHARED_LIBS=${{ matrix.shared-lib }}
\
-DBUILD_SHARED_LIBS=${{ matrix.shared-lib }}
`
-DProtobuf_ROOT="~/protobuf-bin"
\
-DProtobuf_ROOT="~/protobuf-bin"
`
-Dabsl_ROOT="~/abseil-bin"
\
-Dabsl_ROOT="~/abseil-bin"
`
;
;
cmake --build "build" -j3
cmake --build "build" -j3
cmake --build "build" --target test
cmake --build "build" --target test
...
...
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