build: add "api" to api/soname related versions

Refs #241, Closes #255.
21 jobs for master in 8 minutes and 55 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Style
passed #262943
amd64 debian
style-check

00:00:22

 
  Build
passed #262944
amd64 debian
build-debian

00:00:37

passed #262952
debian aarch64
build-debian-aarch64

00:01:32

passed #262953
debian aarch64
build-debian-aarch64-clang-5

00:01:02

passed #262956
debian armv7
build-debian-armv7

00:01:28

passed #262957
debian armv7
build-debian-armv7-clang-5

00:01:00

passed #262945
amd64 debian
build-debian-static

00:00:36

passed #262955
debian aarch64
build-debian-werror

00:00:33

passed #262946
amd64 debian
build-debian32

00:00:34

passed #262954
macos
build-macos

00:00:35

passed #262958
amd64 debian allowed to fail
build-ubuntu-snap

00:01:00

passed #262950
amd64 debian
build-win-arm32

00:00:29

passed #262951
amd64 debian
build-win-arm64

00:00:32

passed #262947
amd64 debian
build-win32

00:00:39

passed #262948
amd64 debian
build-win32-unaligned-stack

00:00:36

passed #262949
amd64 debian
build-win64

00:00:44

 
  Test
passed #262959
amd64 debian
test-debian

00:00:49

passed #262960
amd64 debian
test-debian-asan

00:02:20

passed #262961
amd64 debian
test-debian-msan

00:01:09

passed #262962
amd64 debian
test-debian-ubsan

00:01:26

passed #262963
amd64 debian
test-win64

00:00:57