.gitlab-ci.yml: enable static builds

Merged Dawid Wrobel requested to merge wrobelda-master-patch-88292 into master
Edited by Dawid Wrobel

Merge request reports