From b59e0da55eeb9d08293a2eed2118d730746eeb0c Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Tue, 26 Mar 2024 12:25:38 +0100 Subject: [PATCH] ci: fix --- .github/workflows/release.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c1ec5e986..fb97b79b5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -136,14 +136,6 @@ jobs: - run: rustup target add i686-pc-windows-msvc if: matrix.build == 'windows' - - name: Install dependencies - id: vcpkg - uses: johnwason/vcpkg-action@v6 - with: - pkgs: openssl - triplet: ${{ matrix.vcpkg_openssl_triplet }} - token: ${{ github.token }} - - name: Install Python dependencies run: pip install -U setuptools wheel twine cibuildwheel platformdirs @@ -167,6 +159,10 @@ jobs: CIBW_BEFORE_BUILD_LINUX: > curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=stable --profile=minimal -y && rustup show + + CIBW_BEFORE_ALL_LINUX: vcpkg install openssl:x64-linux-release + CIBW_BEFORE_ALL_WINDOWS: vcpkg install openssl:x86-windows-static + CIBW_TEST_COMMAND: 'pytest {project}/test' CIBW_TEST_REQUIRES: pytest requests CIBW_TEST_SKIP: '*-macosx_arm64 *-macosx_universal2:arm64'