Files
Phoenix/.azure/ci-macos-job.yml
Scott Talbert 440c1b018f Switch macOS CI to use Python from Azure images
Fixes Python 3.10 and should be faster not having to download & install
Python and pip.

This also removes Python 3.6 from macOS CI - the Azure hosted version of
Python 3.6 has a problem with linker flags (it is setting -stack_size) and
can't compile Python extensions.  Python 3.6 is going to be EOL in a month or
so, so it seems fine to just remove it from CI.
2021-11-19 13:44:25 -05:00

52 lines
1.1 KiB
YAML

jobs:
- job: MacOS_CI
timeoutInMinutes: 90
displayName: 'MacOS CI'
pool:
vmImage: 'macOS-1015'
strategy:
matrix:
Py37:
python.version: '3.7'
Py38:
python.version: '3.8'
Py39:
python.version: '3.9'
Py310:
python.version: '3.10'
variables: {'PYTHONUNBUFFERED': '1'}
steps:
- checkout: self
submodules: recursive
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
- script: |
python -m pip install -U setuptools wheel
python -m pip install -r requirements.txt
displayName: 'Install Python dependencies'
- script: |
xcode-select --print-path
python build.py --jobs=4 build_wx
displayName: 'build wxWidgets'
- script: |
python build.py dox etg --nodoc sip
displayName: 'generate code'
- script: |
python build.py --jobs=4 build_py
displayName: 'build wxPython'
- script: |
python build.py bdist_wheel
python build.py install
python -c "import wx; print(wx.version());"
displayName: 'build wheel and test install'