From db954ff710ae24dd30eb46b870b2aa3cfc1aebc9 Mon Sep 17 00:00:00 2001 From: Googlefan Date: Sun, 23 Feb 2025 04:13:51 +0000 Subject: [PATCH] fix --- .github/workflows/CI.Dockerfile | 2 ++ .github/workflows/CI.yml | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/CI.Dockerfile diff --git a/.github/workflows/CI.Dockerfile b/.github/workflows/CI.Dockerfile new file mode 100644 index 0000000..e5a4381 --- /dev/null +++ b/.github/workflows/CI.Dockerfile @@ -0,0 +1,2 @@ +FROM ubuntu:latest +RUN apt update && apt install openssl libssl-dev curl pkg-config -y \ No newline at end of file diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4266488..0d21375 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -29,7 +29,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.x - - run: sudo apt-get update && sudo apt-get install -y openssl libssl-dev pkg-config curl + - uses: docker/setup-qemu-action@v3 + - run: docker build -f .github/workflows/CI.Dockerfile --tag ci - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -37,7 +38,7 @@ jobs: args: --release --out dist --find-interpreter sccache: 'true' manylinux: auto - container: off + container: ci working-directory: ./crates/sbv2_bindings - name: Upload wheels uses: actions/upload-artifact@v4