about summary refs log tree commit diff
path: root/src/ci/github-actions
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2021-06-07 15:01:50 +0200
committerPietro Albini <pietro@pietroalbini.org>2021-06-07 18:55:43 +0200
commit12d37e615faa179b90cbaf34e082fa0c03e416f8 (patch)
tree4f495a571ce6de53dc730b28f776d266f94573c5 /src/ci/github-actions
parentb52bf1b41c8480326f3178d22c7d7524baf55361 (diff)
downloadrust-12d37e615faa179b90cbaf34e082fa0c03e416f8.tar.gz
rust-12d37e615faa179b90cbaf34e082fa0c03e416f8.zip
add the x86_64-gnu-stable job to test with stable channel
During the 1.52 release process we had to deal with some commits that
passed the test suite on the nightly branch but failed on the beta or
stable branch. In that case it was due to some UI tests including the
channel name in the output, but other changes might also be dependent on
the channel.

This commit adds a new CI job that runs the Linux x86_64 test suite with
the stable branch, ensuring nightly changes also work as stable.
Diffstat (limited to 'src/ci/github-actions')
-rw-r--r--src/ci/github-actions/ci.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ci/github-actions/ci.yml b/src/ci/github-actions/ci.yml
index 343091cb779..e704071e401 100644
--- a/src/ci/github-actions/ci.yml
+++ b/src/ci/github-actions/ci.yml
@@ -407,6 +407,17 @@ jobs:
           - name: x86_64-gnu
             <<: *job-linux-xl
 
+          # This job ensures commits landing on nightly still pass the full
+          # test suite on the stable channel. There are some UI tests that
+          # depend on the channel being built (for example if they include the
+          # channel name on the output), and this builder prevents landing
+          # changes that would result in broken builds after a promotion.
+          - name: x86_64-gnu-stable
+            env:
+              IMAGE: x86_64-gnu
+              RUST_CI_OVERRIDE_RELEASE_CHANNEL: stable
+            <<: *job-linux-xl
+
           - name: x86_64-gnu-aux
             <<: *job-linux-xl