Skip to content

Git designed for AI agents.

ci: install Meson and Ninja for the bundled Git build

Federico Elia62aa6ca2a2d9
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fabb55e..be28800 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -37,6 +37,10 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y build-essential libcurl4-openssl-dev libexpat1-dev gettext libssl-dev zlib1g-dev libpcre2-dev
+ # The bundled Git is built with Meson and Ninja; the packaged Meson can be too old.
+ python3 -m venv "$RUNNER_TEMP/buildtools"
+ "$RUNNER_TEMP/buildtools/bin/pip" install --quiet "meson>=1.12" ninja
+ echo "$RUNNER_TEMP/buildtools/bin" >> "$GITHUB_PATH"
- name: Build
run: make build