File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 runs-on : ubuntu-24.04
3838 timeout-minutes : 60
3939 defaults :
40- run :
41- working-directory : ./java
4240 steps :
4341 - name : Checkout repository
4442 uses : actions/checkout@v4
@@ -51,13 +49,43 @@ jobs:
5149 - name : Build and run in ARM64 container
5250 run : |
5351 docker run --platform linux/arm64 -v ${{ github.workspace }}:/workspace -w /workspace ubuntu:20.04 bash -c "
52+ ls
5453 set -ex
5554 apt-get update
56- DEBIAN_FRONTEND=noninteractive apt-get install -y git curl build-essential protobuf-compiler libssl-dev pkg-config
5755
56+ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --assume-yes \
57+ apt-transport-https \
58+ ca-certificates \
59+ curl \
60+ gpg \
61+ bash \
62+ less \
63+ openssl \
64+ libssl-dev \
65+ pkg-config \
66+ libsqlite3-dev \
67+ libsqlite3-0 \
68+ libreadline-dev \
69+ git \
70+ cmake \
71+ dh-autoreconf \
72+ clang \
73+ g++ \
74+ gcc-10 \
75+ libc++-dev \
76+ libc++abi-dev \
77+ libprotobuf-dev \
78+ protobuf-compiler \
79+ libncurses5-dev \
80+ libncursesw5-dev \
81+ libudev-dev \
82+ libhidapi-dev \
83+ zip
84+
5885 curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
5986 source \$HOME/.cargo/env
60-
87+
88+ cd java
6189 cargo build --release
6290 cp ../target/release/liblance_jni.so liblance_jni.so
6391 "
You can’t perform that action at this time.
0 commit comments