Skip to content

Commit 1e13678

Browse files
mkruskal-googlecopybara-github
authored andcommitted
Fix protobuf tests
PiperOrigin-RevId: 516544976
1 parent e8074e0 commit 1e13678

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ABCL-test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,14 @@ jobs:
3939
run: echo "::add-path:$GITHUB_WORKSPACE/quicklisp/local-projects/cl-protobufs/protoc/"
4040

4141
- name: Download and install protobuf
42-
run: git clone --recursive https://github.com/google/protobuf $GITHUB_WORKSPACE/protobuf && cd $GITHUB_WORKSPACE/protobuf && ./autogen.sh && ./configure --prefix=/usr/local && make && sudo make install && sudo ldconfig
42+
run: |
43+
set -ex
44+
git clone --recursive https://github.com/google/protobuf $GITHUB_WORKSPACE/protobuf
45+
cd $GITHUB_WORKSPACE/protobuf
46+
cmake . -Dprotobuf_WITH_ZLIB=OFF -Dprotobuf_BUILD_CONFORMANCE=OFF -Dprotobuf_BUILD_EXAMPLES=OFF -DCMAKE_CXX_STANDARD=14
47+
make -j20
48+
sudo make install
49+
sudo ldconfig
4350
4451
- name: Install protoc plug-in
4552
run: cd $GITHUB_WORKSPACE/quicklisp/local-projects/cl-protobufs/protoc && PROTOC_ROOT=/usr/local make

0 commit comments

Comments
 (0)