Arun Raghavan pushed to branch master at PulseAudio / pulseaudio


Commits:
6358bcdf by Jonathan Marler at 2025-09-15T13:15:55-04:00
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.

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

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



View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/6358bcdf15cf9e2cb19abb5d9382bea7489baf2a

-- 
View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/6358bcdf15cf9e2cb19abb5d9382bea7489baf2a
You're receiving this email because of your account on gitlab.freedesktop.org.


Reply via email to