|
10 | 10 | build:
|
11 | 11 | runs-on: windows-latest
|
12 | 12 | env:
|
13 |
| - CONNECTOR_VERSION: "3.2.4" |
| 13 | + CONNECTOR_VERSION: "3.3.1" |
14 | 14 | steps:
|
15 | 15 |
|
16 | 16 | - name: Cache Connector
|
@@ -57,18 +57,25 @@ jobs:
|
57 | 57 | EOF
|
58 | 58 | cat site.cfg
|
59 | 59 |
|
| 60 | + - uses: actions/setup-python@v2 |
| 61 | + - name: Install cibuildwheel |
| 62 | + run: python -m pip install cibuildwheel==2.7.0 |
60 | 63 | - name: Build wheels
|
61 |
| - shell: cmd |
62 | 64 | 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 |
72 | 79 |
|
73 | 80 | - name: Upload Wheel
|
74 | 81 | uses: actions/upload-artifact@v2
|
|
81 | 88 | working-directory: mysqlclient/dist
|
82 | 89 | run: |
|
83 | 90 | 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)" |
84 | 93 | py -3.10 -m pip install --no-index --find-links . mysqlclient
|
85 | 94 | py -3.10 -c "import MySQLdb; print(MySQLdb.version_info)"
|
86 | 95 | py -3.9 -m pip install --no-index --find-links . mysqlclient
|
|
0 commit comments