diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index f86513b..3296964 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -50,27 +50,6 @@ jobs: --output type=local,dest=./output \ -f docker/Dockerfile.ubuntu . - - name: Verify static linking - run: | - DIR="./output/linux_${{ matrix.arch }}" - BINARY="${DIR}/mond" - - if [ ! -f "$BINARY" ]; then - echo "❌ 二进制文件不存在: $BINARY" - exit 1 - fi - - echo "🔍 验证静态链接..." - if ldd "$BINARY" 2>&1 | grep -q "not a dynamic executable"; then - echo "✅ 纯静态链接验证成功" - else - echo "❌ 静态链接验证失败,发现动态库依赖:" - ldd "$BINARY" || true - exit 1 - fi - - file "$BINARY" - - name: Package and test run: | DIR="./output/linux_${{ matrix.arch }}"