ci: perform clang builds on Linux (cherry picked from commit dc6e80e2ce7c4d1017ce41a67a0df50b29b36cc4)