Skip to content

Commit 79f6f7f

Browse files
committed
Update CI settings
1 parent 6979a47 commit 79f6f7f

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

.github/workflows/windows.yaml

+20-11
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build:
1111
runs-on: windows-latest
1212
env:
13-
CONNECTOR_VERSION: "3.2.4"
13+
CONNECTOR_VERSION: "3.3.1"
1414
steps:
1515

1616
- name: Cache Connector
@@ -57,18 +57,25 @@ jobs:
5757
EOF
5858
cat site.cfg
5959
60+
- uses: actions/setup-python@v2
61+
- name: Install cibuildwheel
62+
run: python -m pip install cibuildwheel==2.7.0
6063
- name: Build wheels
61-
shell: cmd
6264
working-directory: mysqlclient
63-
run: |
64-
py -3.10 -m pip install -U setuptools wheel pip
65-
py -3.10 setup.py bdist_wheel
66-
py -3.9 -m pip install -U setuptools wheel pip
67-
py -3.9 setup.py bdist_wheel
68-
py -3.8 -m pip install -U setuptools wheel pip
69-
py -3.8 setup.py bdist_wheel
70-
py -3.7 -m pip install -U setuptools wheel pip
71-
py -3.7 setup.py bdist_wheel
65+
run: python -m cibuildwheel --output-dir dist
66+
67+
#- name: Build wheels
68+
# shell: cmd
69+
# working-directory: mysqlclient
70+
# run: |
71+
# py -3.10 -m pip install -U setuptools wheel pip
72+
# py -3.10 setup.py bdist_wheel
73+
# py -3.9 -m pip install -U setuptools wheel pip
74+
# py -3.9 setup.py bdist_wheel
75+
# py -3.8 -m pip install -U setuptools wheel pip
76+
# py -3.8 setup.py bdist_wheel
77+
# py -3.7 -m pip install -U setuptools wheel pip
78+
# py -3.7 setup.py bdist_wheel
7279

7380
- name: Upload Wheel
7481
uses: actions/upload-artifact@v2
@@ -81,6 +88,8 @@ jobs:
8188
working-directory: mysqlclient/dist
8289
run: |
8390
ls -la
91+
py -3.11 -m pip install --no-index --find-links . mysqlclient
92+
py -3.11 -c "import MySQLdb; print(MySQLdb.version_info)"
8493
py -3.10 -m pip install --no-index --find-links . mysqlclient
8594
py -3.10 -c "import MySQLdb; print(MySQLdb.version_info)"
8695
py -3.9 -m pip install --no-index --find-links . mysqlclient

0 commit comments

Comments
 (0)