mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-12 17:07:31 +00:00
Merge pull request #8491 from keymanapp/chore/linux/debian
chore(linux): Run and ignore autopkgtests on s390x
This commit is contained in:
commit
6e147daadd
3 changed files with 16 additions and 2 deletions
|
|
@ -1,7 +1,13 @@
|
|||
keyman (16.0.139-3) unstable; urgency=medium
|
||||
|
||||
* debian/tests: Run autopkgtests on s390x but immediately return
|
||||
|
||||
-- Eberhard Beilharz <eb1@sil.org> Wed, 22 Mar 2023 19:25:02 +0100
|
||||
|
||||
keyman (16.0.139-2) unstable; urgency=medium
|
||||
|
||||
* Don't build on s390x because Keyman doesn't work on big-endian architectures
|
||||
(upstream bug https://github.com/keymanapp/keyman/issues/5111)
|
||||
(upstream bug https://github.com/keymanapp/keyman/issues/5111)
|
||||
|
||||
-- Eberhard Beilharz <eb1@sil.org> Mon, 20 Mar 2023 19:54:44 +0100
|
||||
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ Tests: test-build
|
|||
Depends: @,
|
||||
build-essential,
|
||||
pkg-config,
|
||||
Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el riscv64
|
||||
Architecture: any
|
||||
|
|
|
|||
|
|
@ -9,6 +9,14 @@ WORKDIR=$(mktemp -d)
|
|||
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
|
||||
cd "$WORKDIR"
|
||||
|
||||
if [ "$(dpkg --print-architecture)" == "s390x" ]; then
|
||||
# libkmnkbp doesn't support big endian architectures
|
||||
# (https://github.com/keymanapp/keyman/issues/5111), so it isn't
|
||||
# build on s390x and we can't run the tests. Simply ignore.
|
||||
echo "Not supported on s390x: OK"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Test all include files are available
|
||||
cat <<EOF > keymantest.c
|
||||
#include <keyman/keyboardprocessor.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue