You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ap...@apache.org on 2023/07/04 14:02:11 UTC

[arrow] branch main updated: GH-36452: [CI][C++] Test C++20 support with compatible compiler (#36454)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 7ecec6c871 GH-36452: [CI][C++] Test C++20 support with compatible compiler (#36454)
7ecec6c871 is described below

commit 7ecec6c871dd01991782f9c644af6fd839948a84
Author: Antoine Pitrou <an...@python.org>
AuthorDate: Tue Jul 4 16:02:05 2023 +0200

    GH-36452: [CI][C++] Test C++20 support with compatible compiler (#36454)
    
    We were testing C++20 compatibility on a gcc version that only accepts `-std=c++2a`, not `-std=c++20`. Switch to a newer Ubuntu, and therefore gcc, version.
    
    * Closes: #36452
    
    Authored-by: Antoine Pitrou <an...@python.org>
    Signed-off-by: Antoine Pitrou <an...@python.org>
---
 dev/tasks/tasks.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index ccbd11d92b..3c44ec30cb 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -1151,12 +1151,12 @@ tasks:
       image: fedora-cpp
 
 {% for cpp_standard in [20] %}
-  test-ubuntu-20.04-cpp-{{ cpp_standard }}:
+  test-ubuntu-22.04-cpp-{{ cpp_standard }}:
     ci: github
     template: docker-tests/github.linux.yml
     params:
       env:
-        UBUNTU: 20.04
+        UBUNTU: 22.04
       flags: "-e CMAKE_CXX_STANDARD={{ cpp_standard }}"
       image: ubuntu-cpp
 {% endfor %}