Re-enable Arch on CI

This commit is contained in:
Kovid Goyal 2020-11-24 13:51:23 +05:30
parent a5a26bbe7a
commit 603b082dc0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -31,34 +31,33 @@ jobs:
run:
python setup/unix-ci.py test
# Disabled because of: https://bugreports.qt.io/browse/QTBUG-87320
# archtest:
# name: Test on Arch
# runs-on: ubuntu-latest
# container:
# image: 'archlinux/base:latest'
# env:
# CI: 'true'
# steps:
# - name: Install calibre dependencies
# run: |
# set -xe
# useradd -m ci
# pacman -Syu --noconfirm
# 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 hyphen python-pychm espeak-ng
#
# - name: Checkout source code
# uses: actions/checkout@master
# with:
# fetch-depth: 10
#
# - name: Bootstrap calibre
# run: |
# chown -R ci:users $GITHUB_WORKSPACE
# runuser -u ci -- python setup.py bootstrap --ephemeral
#
# - name: Test calibre
# run: |
# runuser -u ci -- python setup.py test
# runuser -u ci -- python setup.py test_rs
# chmod +777 .git .git/config
archtest:
name: Test on Arch
runs-on: ubuntu-latest
container:
image: 'archlinux/base:latest'
env:
CI: 'true'
steps:
- name: Install calibre dependencies
run: |
set -xe
useradd -m ci
pacman -Syu --noconfirm
pacman -S --noconfirm --needed base-devel sudo git sip5 pyqt-builder chmlib icu jxrlib hunspell libmtp libusb 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 hyphen python-pychm speech-dispatcher
- name: Checkout source code
uses: actions/checkout@master
with:
fetch-depth: 10
- name: Bootstrap calibre
run: |
chown -R ci:users $GITHUB_WORKSPACE
runuser -u ci -- python setup.py bootstrap --ephemeral
- name: Test calibre
run: |
runuser -u ci -- python setup.py test
runuser -u ci -- python setup.py test_rs
chmod +777 .git .git/config