Update windows build workflow (#585)

Use MariaDB Connector/C 3.3.4
This commit is contained in:
Inada Naoki
2023-05-07 10:33:42 +09:00
committed by GitHub
parent 17c4e466d9
commit d0658273ac

View File

@ -11,12 +11,12 @@ jobs:
build:
runs-on: windows-latest
env:
CONNECTOR_VERSION: "3.3.1"
CONNECTOR_VERSION: "3.3.4"
steps:
- name: Cache Connector
id: cache-connector
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: c:/mariadb-connector
key: mariadb-connector-c-${{ env.CONNECTOR_VERSION }}-win
@ -41,7 +41,7 @@ jobs:
cmake -DCMAKE_INSTALL_PREFIX=c:/mariadb-connector -DCMAKE_INSTALL_COMPONENT=Development -DCMAKE_BUILD_TYPE=Release -P cmake_install.cmake
- name: Checkout mysqlclient
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: mysqlclient
@ -58,9 +58,9 @@ jobs:
EOF
cat site.cfg
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.7.0
run: python -m pip install cibuildwheel==2.12.3
- name: Build wheels
working-directory: mysqlclient
env:
@ -70,7 +70,7 @@ jobs:
run: "python -m cibuildwheel --prerelease-pythons --output-dir dist"
- name: Upload Wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: win-wheels
path: mysqlclient/dist/*.whl