add compile dependency
Some checks failed
Build and Push Base Image / build-and-push (push) Failing after 56s
Some checks failed
Build and Push Base Image / build-and-push (push) Failing after 56s
This commit is contained in:
parent
6e07893e0d
commit
06aa815950
@ -24,6 +24,36 @@ jobs:
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y build-essential cmake git
|
||||
|
||||
# 编译 GMSSL
|
||||
- name: Build GMSSL
|
||||
run: |
|
||||
cd gmssl
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make
|
||||
|
||||
# 复制库文件
|
||||
- name: Copy library files
|
||||
run: |
|
||||
mkdir -p ./lib
|
||||
cd gmssl/build/bin
|
||||
cp libgmssl.so \
|
||||
libgmssl.so.3 \
|
||||
libgmssl.so.3.1 \
|
||||
libsdf_dummy.so \
|
||||
libsdf_dummy.so.3 \
|
||||
libsdf_dummy.so.3.1 \
|
||||
libskf_dummy.so \
|
||||
libskf_dummy.so.3 \
|
||||
libskf_dummy.so.3.1 \
|
||||
../../lib/
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: https://git.mamahaha.work/actions/setup-buildx-action@v3
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user