Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Oct 10, 2024
1 parent b13ff90 commit 452406b
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,21 @@ jobs:
# Install libraries required for protobuf generation
- name: Install dependencies
run: |
sudo apt update -y && sudo apt install -y libboost-all-dev libzookeeper-mt-dev libsasl2-dev cmake libcppunit-dev checkinstall
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
version: "25.5"
sudo apt update -y && sudo apt install -y libboost-all-dev libzookeeper-mt-dev libsasl2-dev cmake libcppunit-dev checkinstall && \
pushd .. && \
if [ -f $HOME/protobuf/protobuf-25.5* ]; then \
sudo dpkg -i $HOME/protobuf/protobuf-25.5*; \
else \
wget https://github.com/protocolbuffers/protobuf/releases/download/v25.5/protobuf-25.5.zip && \
unzip protobuf-25.5.zip && pushd protobuf-25.5 && \
./configure && sudo make && sudo checkinstall -y && \
if [ ! -d $HOME/protobuf ]; then \
mkdir -p $HOME/protobuf; \
fi && \
mv protobuf-25.5* $HOME/protobuf/ && popd; \
fi && \
sudo ldconfig && popd; \
# Builds Drill project, performs license checkstyle goal and regenerates java and C++ protobuf files
- name: Build
run: |
Expand Down

0 comments on commit 452406b

Please sign in to comment.