Skip to content

Commit

Permalink
add flatc deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zealchen committed May 6, 2024
1 parent 10e31c1 commit b55bfa4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- run: |
sudo apt update
sudo apt install -y protobuf-compiler
sudo apt install -y flatbuffers-compiler
sudo sh compile-flatc.sh
- name: Cache Crates
uses: actions/cache@v3
with:
Expand Down
10 changes: 10 additions & 0 deletions compile-flatc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
wget 'https://github.com/google/flatbuffers/archive/refs/tags/v24.3.25.tar.gz'

tar xzf flatbuffers-24.3.25.tar.gz
pushd flatbuffers-24.3.25
cmake -G "Unix Makefiles"
make
make install
ldconfig
flatc --version
rm -rf flatbuffers-24.3.25

0 comments on commit b55bfa4

Please sign in to comment.