Restore the arch linux CI

Since calling os._exit() seems to have worked around the CI hang
This commit is contained in:
Kovid Goyal 2023-10-17 06:57:26 +05:30
parent 22c95c901e
commit 1a2010ef73
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -36,36 +36,36 @@ jobs:
run: run:
python setup/unix-ci.py test python setup/unix-ci.py test
# archtest: archtest:
# name: Test on Arch name: Test on Arch
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# container: container:
# image: 'archlinux/archlinux:latest' image: 'archlinux/archlinux:latest'
# env: env:
# CI: 'true' CI: 'true'
# steps: steps:
# - name: Setup container - name: Setup container
# run: | run: |
# pacman -Syu --noconfirm pacman -Syu --noconfirm
# pacman -S --noconfirm tar pacman -S --noconfirm tar
#
# - name: Checkout source code - name: Checkout source code
# uses: actions/checkout@master uses: actions/checkout@master
# with: with:
# fetch-depth: 10 fetch-depth: 10
#
# - name: Install calibre dependencies - name: Install calibre dependencies
# run: setup/arch-ci.sh run: setup/arch-ci.sh
#
# - name: Bootstrap calibre - name: Bootstrap calibre
# run: runuser -u ci -- python setup.py bootstrap --ephemeral --debug --sanitize run: runuser -u ci -- python setup.py bootstrap --ephemeral --debug --sanitize
#
# - name: Test calibre - name: Test calibre
# env: env:
# PYTHONWARNINGS: error PYTHONWARNINGS: error
# CALIBRE_SHOW_DEPRECATION_WARNINGS: 1 CALIBRE_SHOW_DEPRECATION_WARNINGS: 1
# run: | run: |
# set -xe set -xe
# runuser -u ci -- python setup.py test --under-sanitize runuser -u ci -- python setup.py test --under-sanitize
# echo "Running test_rs" echo "Running test_rs"
# runuser -u ci -- python setup.py test_rs runuser -u ci -- python setup.py test_rs