Skip to content

Commit b7f69f3

Browse files
committed
fix: back to ubuntu-20.04
Signed-off-by: Cocoa <i@uwucocoa.moe>
1 parent e9bfab7 commit b7f69f3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/linux-precompile.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ concurrency:
1313

1414
jobs:
1515
precompile:
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-20.04
1717
env:
1818
TFLITE_BEAM_PREFER_PRECOMPILED: "false"
1919
ARMV6_TOOLCHAIN_NAME: "nerves_toolchain_armv6_nerves_linux_gnueabihf-linux_x86_64"
@@ -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)"

0 commit comments

Comments
 (0)