Skip to content

Commit

Permalink
apacheGH-36452: [CI][C++] Test C++20 support with compatible compiler
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pitrou committed Jul 4, 2023
1 parent e7d5028 commit 8e9df21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/tasks/tasks.yml
Expand Up @@ -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 %}
Expand Down

0 comments on commit 8e9df21

Please sign in to comment.