Skip to content

Commit 70224cb

Browse files
committed
fix: fix linux ci
Signed-off-by: Cocoa <i@uwucocoa.moe>
1 parent 32cc582 commit 70224cb

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/linux-precompile.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ jobs:
120120
sudo apt-get install -y ${{ matrix.pair.c_compiler }} ${{ matrix.pair.cpp_compiler }}
121121
fi
122122
123+
git clone https://github.com/google/flatbuffers.git
124+
cd flatbuffers/
125+
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
126+
make
127+
sudo make install
128+
123129
- name: Create precompiled library
124130
run: |
125131
export NIF_VERSION="$(erl -noshell -eval "io:format('~ts', [erlang:system_info(nif_version)])." -s erlang halt)"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ tflite_beam-*.tar
3333
priv/
3434
cmake_tflite_beam/
3535
tflite_beam_precompiled.beam
36+
libusb/

0 commit comments

Comments
 (0)