diff options
author | Christian Clauss <cclauss@me.com> | 2022-03-10 06:28:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 06:28:40 +0100 |
commit | 5af3739670bd4c283e724aade996d732db4ec993 (patch) | |
tree | 1e8a53298b46e93b5bc7770c2a166aefe41c5521 | |
parent | 6bb8a42a4fa31009ccaf41f6c9e4a7ac3eedd25b (diff) | |
download | pycurl-5af3739670bd4c283e724aade996d732db4ec993.tar.gz |
Upgrade actions/checkout and actions/setup-python
-rw-r--r-- | .github/workflows/ci-windows.yml | 17 |
1 files 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 |