This is an automated email from the ASF dual-hosted git repository.

willayd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-nanoarrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 78a0d217 ci: Bump Meson to ubuntu-latest (#766)
78a0d217 is described below

commit 78a0d217eaf4ed32d8bbd10d665eec67b9b3b0ee
Author: William Ayd <[email protected]>
AuthorDate: Mon Jun 2 22:57:33 2025 -0400

    ci: Bump Meson to ubuntu-latest (#766)
---
 .github/workflows/build-and-test.yaml | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build-and-test.yaml 
b/.github/workflows/build-and-test.yaml
index f4e95f38..fed398c5 100644
--- a/.github/workflows/build-and-test.yaml
+++ b/.github/workflows/build-and-test.yaml
@@ -129,7 +129,7 @@ jobs:
   meson-build:
     # Can't quite be ubuntu-latest yet
     # https://github.com/apache/arrow-nanoarrow/issues/753
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v4
       - uses: actions/setup-python@v5
@@ -138,7 +138,18 @@ jobs:
 
       - name: Install system dependencies
         run: |
-          sudo apt-get update && sudo apt-get install -y gcovr ninja-build 
valgrind
+          sudo apt-get update && sudo apt-get install -y ninja-build valgrind
+
+      # the gcovr shipped with 24.04 does not work with source files over 10k 
lines
+      # so we use Python to install a newer version. See also
+      # https://github.com/gcovr/gcovr/issues/1103
+      - uses: actions/setup-python@v5
+        with:
+          python-version: '3.x'
+      - name: Install gcovr
+        run: |
+          pip install --upgrade pip
+          pip install gcovr
 
       - name: Install meson
         # Meson 1.8.0 breaks build

Reply via email to