From 9efecd75603996312b1f265b376153b7d8bb3db3 Mon Sep 17 00:00:00 2001 From: Xavier Olive Date: Wed, 7 Aug 2024 18:02:17 +0200 Subject: [PATCH] linux with vendored openssl and windows without -md option --- .github/workflows/wheels.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index a9214e0..1c3cd47 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -50,7 +50,7 @@ jobs: with: working-directory: python target: ${{ matrix.platform.target }} - args: --release --out dist --find-interpreter + args: --release --out dist --find-interpreter --features="openssl-sys/vendored" sccache: "true" manylinux: auto - name: Upload wheels @@ -86,7 +86,7 @@ jobs: with: working-directory: python target: ${{ matrix.platform.target }} - args: --release --out dist --find-interpreter + args: --release --out dist --find-interpreter --features="openssl-sys/vendored" sccache: "true" manylinux: musllinux_1_2 - name: Upload wheels @@ -102,10 +102,10 @@ jobs: platform: - runner: windows-latest target: x64 - triplet: x64-windows-static-md + triplet: x64-windows-static - runner: windows-latest target: x86 - triplet: x86-windows-static-md + triplet: x86-windows-static steps: - uses: actions/checkout@v4 - uses: actions/cache@v2 @@ -128,6 +128,7 @@ jobs: uses: PyO3/maturin-action@v1 env: VCPKG_ROOT: ${{ github.workspace }}/vcpkg + RUSTFLAGS: "-C target-feature=+crt-static" with: working-directory: python target: ${{ matrix.platform.target }}