ci: fix clang-13 installation
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 22 Feb 2022 13:43:40 +0000 (14:43 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 22 Feb 2022 21:47:38 +0000 (21:47 +0000)
commitfa6e263273905cfc9e4528e8175ace3d19d881e3
treea6a99dcef25b9917fd73dd494f67a718dd7bd52b
parentc92297a20c13b7e15b0026b1f36ebe99d86cfce8
ci: fix clang-13 installation

For some reason Ubuntu Focal repositories now have `llvm-13` virtual
package which can't be installed, but successfully fools our check,
resulting in no clang/llvm being installed...

```
$ apt show llvm-13
Package: llvm-13
State: not a real package (virtual)
N: Can't select candidate version from package llvm-13 as it has no candidate
N: Can't select versions from package 'llvm-13' as it is purely virtual
N: No packages found

$ apt install --dry-run llvm-13
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package llvm-13 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'llvm-13' has no installation candidate
```

(cherry picked from commit b491d74064f9d5e17a71b38b014434237169a077)
.github/workflows/build_test.sh