ci: Fetch tags by default before building

The CI for merge requests is failing because the meson script is unable
to parse the version. With some print debugging I determined that the
version string being generated on the CI is empty because it has no
git tags. I've added a command to fetch the tags before the build.
This commit is contained in:
Jonathan Marler 2025-08-07 19:16:21 -06:00 committed by Arun Raghavan
parent 1699a78f5b
commit 6358bcdf15

View file

@ -106,6 +106,8 @@ build-meson:
- cd meson-0.63.2 - cd meson-0.63.2
- python3 setup.py install - python3 setup.py install
- cd .. - cd ..
# needed to generate a version
- git fetch https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git --tags
# Do the actual build # Do the actual build
- meson build -Dwebrtc-aec=enabled - meson build -Dwebrtc-aec=enabled
- cd build - cd build