gitlab-ci: add cmake

The autotools `distcheck` target also verifies the cmake build.
2 jobs for gitlab-ci in 51 seconds
Status Job ID Name Coverage
  Build
passed #10072
docker
autoconf

00:00:51

passed #10073
docker
cmake

00:00:24