Skip to content

Commit

Permalink
appveyor: We need to manually start MySQL 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Dec 11, 2023
1 parent cfa3f2f commit 076c393
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,17 @@ environment:
PYTHON_EXE: python
GWHEEL_ONLY: true


# The images have moved to MySQL8 only, and that cannot
# currently (Dec 2023) be started with the services: syntax.
# See https://github.com/appveyor/ci/issues/3834
services:
- mysql
- postgresql101

install:
- ECHO "Filesystem root:"
- ps: "ls \"C:/\""
- ps: "ls \"C:/Program Files/\""
- ps: "ls \"C:/Program Files/MySQL\""
- ps: "ls \"C:/Program Files (x86)/\""

- ECHO "Installed SDKs:"
Expand Down Expand Up @@ -118,7 +120,9 @@ install:
# So we violate DRY and repeate some requirements in order to use
# --no-build-isolation
- "%CMD_IN_ENV% %PYEXE% -m pip install -U pycparser wheel \"cython>=3.0\" setuptools cffi twine"

# Have to manually start MySQL8. See above.
- ECHO "Starting MySQL 8"
- ps: Start-Service MySQL80

build_script:
# Build the compiled extension
Expand Down

0 comments on commit 076c393

Please sign in to comment.