ci: Explicitly test for meson feature checks in compiler wrapper
authorMichel Dänzer <mdaenzer@redhat.com>
Wed, 12 Apr 2023 09:24:13 +0000 (11:24 +0200)
committerMarge Bot <emma+marge@anholt.net>
Sat, 15 Apr 2023 01:55:12 +0000 (01:55 +0000)
commit1915185648e606cf3c32cff1160305260577a5f0
treedd3664286dd0d80c6e8d2cfe9369e0c686c967ed
parent2fbedd442a32a4dd609ee73842a0dae48a737b01
ci: Explicitly test for meson feature checks in compiler wrapper

The previous indirect method was more complicated and still error prone.

v2:
* Use "grep -E" (Eric Engestrom)
* Exclude spaces and slashes in the grep pattern, to avoid accidentally
  matching across unrelated compiler arguments.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22438>
.gitlab-ci/build/compiler-wrapper.sh