Run CI on macOS

This commit is contained in:
Kovid Goyal 2019-09-05 13:34:34 +05:30
parent e06094c458
commit a83dacd506
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 26 additions and 1 deletions

View File

@ -10,7 +10,7 @@ reading. It is cross platform, running on Linux, Windows and macOS.
For more information, see the [calibre About page](https://calibre-ebook.com/about)
[![Build Status](https://dev.azure.com/kovidgoyal/mechanize/_apis/build/status/python-mechanize.mechanize?branchName=engine)](https://dev.azure.com/kovidgoyal/mechanize/_build/latest?definitionId=1&branchName=engine)
[![Build Status](https://dev.azure.com/divok/calibre/_apis/build/status/kovidgoyal.calibre?branchName=engine)](https://dev.azure.com/divok/calibre/_build/latest?definitionId=1&branchName=engine)
## Screenshots

View File

@ -36,3 +36,28 @@ jobs:
- script: |
python3 setup/unix-ci.py test
displayName: 'Test calibre'
- job: 'macOS'
pool:
vmImage: 'macos-latest'
steps:
- checkout: self
fetchDepth: 1
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
architecture: 'x64'
- script: |
python3 setup/unix-ci.py install
displayName: 'Install calibre dependencies'
- script: |
python3 setup/unix-ci.py bootstrap
displayName: 'Bootstrap calibre'
- script: |
python3 setup/unix-ci.py test
displayName: 'Test calibre'