Use build matrix to simplify GitLab CI config