testing/matterhorn: clean up the APKBUILD

- Use the cabal's modern API
- Use dynamic linking as much as possible
- Correctly run the testsuite
- Download the mattermost-api from github instead of relying on cabal
8 jobs for !19554 with matterhorn_bos in 42 minutes and 35 seconds (queued for 1 second)
latest detached
Status Job ID Name Coverage
  Lint
passed #351024
docker-alpine x86_64
lint

00:00:18

 
  Build
passed #351029
docker-alpine ci-build aarch64
build-aarch64

00:00:36

passed #351030
docker-alpine ci-build armv7
build-armv7

00:00:36

passed #351028
docker-alpine ci-build ppc64le
build-ppc64le

00:00:49

passed #351027
docker-alpine ci-build s390x
build-s390x

00:01:03

passed #351026
docker-alpine ci-build x86
build-x86

00:00:19

failed #351051
docker-alpine x86_64 ci-build
build-x86_64

00:41:13

failed #351025
docker-alpine ci-build x86_64
build-x86_64

01:00:01

 
Name Stage Failure
failed
build-x86_64 Build
No job log