diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml index 24b12e7..5ca52e3 100644 --- a/.github/workflows/lua.yml +++ b/.github/workflows/lua.yml @@ -23,7 +23,6 @@ jobs: - archit: aarch64 target: aarch64-unknown-linux-gnu runs-on: ubuntu-22.04 - container: registry.cn-shanghai.aliyuncs.com/lebai/util:14.04 steps: - name: Checkout uses: actions/checkout@v3 @@ -52,6 +51,12 @@ jobs: sudo apt-get install -y --no-install-recommends gcc-aarch64-linux-gnu libc6-dev-arm64-cross - name: Build run: cargo build --release --features ffi_lua,module,mdns --target ${{matrix.target}} + - name: Patch glibc + uses: lmangani/polyfill-glibc-action@main + id: polyfill + with: + glibc: "2.19" + target: ./target/${{matrix.target}}/release/liblebai_sdk.so - name: Upload uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index cf584e1..752ad71 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -23,7 +23,6 @@ jobs: - archit: aarch64 target: aarch64-unknown-linux-gnu runs-on: ubuntu-22.04 - container: registry.cn-shanghai.aliyuncs.com/lebai/util:14.04 steps: - name: Checkout uses: actions/checkout@v3 @@ -57,6 +56,12 @@ jobs: manylinux: 2_17 command: build args: --release --features ffi_py,module,mdns --target ${{matrix.target}} --skip-auditwheel + - name: Patch glibc + uses: lmangani/polyfill-glibc-action@main + id: polyfill + with: + glibc: "2.19" + target: ./target/wheels/*.whl - name: Upload uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/python_asyncio.yml b/.github/workflows/python_asyncio.yml index 31f4b0b..eb97b01 100644 --- a/.github/workflows/python_asyncio.yml +++ b/.github/workflows/python_asyncio.yml @@ -23,7 +23,6 @@ jobs: - archit: aarch64 target: aarch64-unknown-linux-gnu runs-on: ubuntu-22.04 - container: registry.cn-shanghai.aliyuncs.com/lebai/util:14.04 steps: - name: Checkout uses: actions/checkout@v3 @@ -63,6 +62,12 @@ jobs: manylinux: 2_17 command: build args: --release --features ffi_py_asyncio,module,mdns --target ${{matrix.target}} --skip-auditwheel + - name: Patch glibc + uses: lmangani/polyfill-glibc-action@main + id: polyfill + with: + glibc: "2.19" + target: ./target/wheels/*.whl - name: Upload uses: actions/upload-artifact@v3 with: