Skip to content

Commit

Permalink
更新构建步骤和目录检查
Browse files Browse the repository at this point in the history
将步骤名称从“Download GMP Source”更改为“Download Source”。
将“Configure GMP”和“Build GMP”步骤合并为一个名为“Configure & build”的步骤。
在“Check .libs”步骤中,添加了一个命令以进入“gmp-6.3”目录下的“.libs”子目录。
  • Loading branch information
sdcb committed Jan 29, 2025
1 parent cd958ef commit fbe99fe
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,18 @@ jobs:
build-native:
runs-on: ubuntu-latest
steps:
- name: Download GMP Source
- name: Download Source
run: |
git clone --depth 1 https://github.com/gmp-mirror/gmp-6.3.git
- name: Configure GMP
- name: Configure & build
run: |
cd gmp-6.3
autoreconf -ivf
./configure --enable-shared --disable-static --enable-fat
- name: Build GMP
run: |
make
- name: Check .libs
run: |
cd .libs
cd ./gmp-6.3/.libs
ls
file libgmp.so.10.3.0
objdump -x libgmp.so.10.3.0

0 comments on commit fbe99fe

Please sign in to comment.