-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: protocol buffer のインストールスクリプトを修正
- Loading branch information
1 parent
61652e8
commit 3f452fb
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,19 +19,19 @@ jobs: | |
with: | ||
go-version: "1.21.2" | ||
|
||
# 引用: https://gist.github.com/diegopacheco/cd795d36e6ebcd2537cd18174865887b | ||
# 参照 | ||
# https://github.com/protocolbuffers/protobuf/blob/main/cmake/README.md#linux-builds | ||
# https://protobuf.dev/getting-started/gotutorial/ | ||
- name: Install Protobuf | ||
run: | | ||
sudo apt-get install autoconf automake libtool curl make g++ unzip -y | ||
sudo apt-get install make -y | ||
git clone [email protected]:protocolbuffers/protobuf.git | ||
cd protobuf | ||
git submodule update --init --recursive | ||
./autogen.sh | ||
./configure | ||
make | ||
make check | ||
sudo make install | ||
sudo ldconfig | ||
cmake . | ||
cmake --build . --parallel 10 | ||
ctest --verbose | ||
sudo cmake --install . | ||
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest | ||
- name: Run protoc | ||
run: | | ||
|