| 1 | #!/bin/sh |
| 2 | # |
| 3 | # arch-ci.sh |
| 4 | # Copyright (C) 2020 Kovid Goyal <kovid at kovidgoyal.net> |
| 5 | |
| 6 | set -xe |
| 7 | |
| 8 | pacman -S --noconfirm --needed base-devel sudo git sip pyqt-builder cmake chmlib icu jxrlib hunspell libmtp libusb libwmf optipng python-apsw python-beautifulsoup4 python-cssselect python-css-parser python-dateutil python-jeepney python-dnspython python-feedparser python-html2text python-html5-parser python-lxml python-lxml-html-clean python-markdown python-mechanize python-msgpack python-netifaces python-unrardll python-pillow python-psutil python-pygments python-pyqt6 python-regex python-zeroconf python-pyqt6-webengine qt6-svg qt6-imageformats qt6-speech udisks2 hyphen python-pychm python-pycryptodome speech-dispatcher python-sphinx python-urllib3 python-py7zr python-pip python-fonttools python-xxhash python-tzdata python-tzlocal uchardet libstemmer poppler tk podofo libwebp-utils python-jaconv python-pykakasi protobuf onnxruntime uv |
| 9 | |
| 10 | git clone --depth=1 https://github.com/espeak-ng/espeak-ng.git |
| 11 | chown -R nobody:nobody espeak-ng |
| 12 | cd espeak-ng |
| 13 | cmake -B build -S . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -DESPEAK_COMPAT=ON |
| 14 | cmake --build build |
| 15 | cmake --install build |
| 16 | cd .. && rm -rf espeak-ng |
| 17 | |
| 18 | useradd -m ci |
| 19 | chown -R ci:users $GITHUB_WORKSPACE |
| 20 | |
| 21 | UV_TOOL_BIN_DIR=/usr/local/bin uv tool install rapydscript-ng |