From 5af3739670bd4c283e724aade996d732db4ec993 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 10 Mar 2022 06:28:40 +0100 Subject: Upgrade actions/checkout and actions/setup-python --- .github/workflows/ci-windows.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index fb2febd..b8f5357 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -18,12 +18,12 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: ./.github/actions/msvc-dev-cmd with: arch: 'x86' - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} architecture: 'x86' @@ -38,21 +38,18 @@ jobs: -username "pycurl" -password "${{ secrets.GITHUB_TOKEN }}" - name: Install packages - run: | - vcpkg install curl[core,http2,non-http,openssl,ssh]:x86-windows + run: vcpkg install curl[core,http2,non-http,openssl,ssh]:x86-windows - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest wheel delvewheel - pip install -r requirements-dev.txt + pip install wheel delvewheel + pip install flake8 pytest -r requirements-dev.txt - name: Build - run: | - python setup.py bdist_wheel --with-openssl --curl-dir=$env:VCPKG_INSTALLATION_ROOT/packages/curl_x86-windows --openssl-dir=$env:VCPKG_INSTALLATION_ROOT/packages/openssl_x86-windows --openssl-lib-name=libssl.lib --link-arg=libcrypto.lib + run: python setup.py bdist_wheel --with-openssl --curl-dir=$env:VCPKG_INSTALLATION_ROOT/packages/curl_x86-windows --openssl-dir=$env:VCPKG_INSTALLATION_ROOT/packages/openssl_x86-windows --openssl-lib-name=libssl.lib --link-arg=libcrypto.lib - name: Repair & install built wheel run: | delvewheel repair --add-path $VCPKG_INSTALLATION_ROOT/installed/x86-windows/bin dist/*.whl pip install wheelhouse/*.whl shell: bash - name: Test with pytest - run: | - pytest -v + run: pytest -v -- cgit v1.2.1