mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Add a python3 test running on Arch
This commit is contained in:
parent
af1d3ab225
commit
13211f3ab8
@ -8,6 +8,37 @@ trigger:
|
||||
|
||||
jobs:
|
||||
|
||||
- job: 'Python3'
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
container:
|
||||
image: 'archlinux/base:latest'
|
||||
# See https://github.com/Microsoft/azure-pipelines-agent/issues/2043
|
||||
# for why we need this hack to get root in the container
|
||||
options: "--name ci-container -v /usr/bin/docker:/tmp/docker:ro"
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
set -xe
|
||||
/tmp/docker exec -t -u 0 ci-container sh -c "pacman -Syu --noconfirm"
|
||||
/tmp/docker exec -t -u 0 ci-container \
|
||||
sh -c "pacman -S --noconfirm --needed base-devel sudo git sip chmlib icu jxrlib hunspell libmtp libusbx libwmf optipng podofo python-apsw python-beautifulsoup4 python-cssselect python-css-parser python-dateutil python-dbus python-dnspython python-dukpy python-feedparser python-html2text python-html5-parser python-lxml python-markdown python-mechanize python-msgpack python-netifaces python-unrardll python-pillow python-psutil python-pygments python-pyqt5 python-regex python-zeroconf python-pyqtwebengine qt5-x11extras qt5-svg qt5-imageformats udisks2"
|
||||
displayName: 'Install calibre dependencies'
|
||||
|
||||
- checkout: self
|
||||
fetchDepth: 1
|
||||
|
||||
- script: |
|
||||
python setup.py bootstrap --ephemeral
|
||||
displayName: 'Bootstrap calibre'
|
||||
env: { 'CALIBRE_PY3_PORT': '1' }
|
||||
|
||||
- script: |
|
||||
python setup.py test
|
||||
displayName: 'Test calibre'
|
||||
env: { 'CALIBRE_PY3_PORT': '1' }
|
||||
|
||||
|
||||
- job: 'Linux'
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
|
Loading…
x
Reference in New Issue
Block a user