[libc++] Add a job testing on GCC 11
authorLouis Dionne <ldionne.2@gmail.com>
Tue, 25 May 2021 21:35:35 +0000 (17:35 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Wed, 26 May 2021 19:48:33 +0000 (15:48 -0400)
I'm adding the job as a soft-fail for now, but once all the tests have
been fixed to work on it, we'll switch over from GCC 10 to GCC 11 and
remove the soft-fail.

Differential Revision: https://reviews.llvm.org/D103116

libcxx/utils/ci/buildkite-pipeline.yml
libcxx/utils/ci/run-buildbot

index cecff11..5ded1be 100644 (file)
@@ -135,6 +135,19 @@ steps:
         - exit_status: -1  # Agent was lost
           limit: 2
 
+  - label: "GCC-next/C++20"
+    command: "libcxx/utils/ci/run-buildbot generic-gcc-next"
+    artifact_paths:
+      - "**/test-results.xml"
+    agents:
+      queue: "libcxx-builders"
+    retry:
+      automatic:
+        - exit_status: -1  # Agent was lost
+          limit: 2
+    soft_fail:
+      - exit_status: 1
+
   #
   # All other supported configurations of libc++.
   #
index eaa20b8..ccc8f9a 100755 (executable)
@@ -270,6 +270,13 @@ generic-gcc)
     generate-cmake
     check-cxx-cxxabi
 ;;
+generic-gcc-next)
+    export CC=gcc-11
+    export CXX=g++-11
+    clean
+    generate-cmake
+    check-cxx-cxxabi
+;;
 generic-asan)
     export CC=clang
     export CXX=clang++