about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-09-30 07:57:48 +0000
committerbors <bors@rust-lang.org>2020-09-30 07:57:48 +0000
commit12f667fac30c5d074a0e5c766222b5a7b6c88246 (patch)
treeeab50db31ffabf5859a24bff79835347185b0bb0 /src
parentc0127e4dbf3a9d3a67ddb1da19f8441019aab8f8 (diff)
parent630e353101cf1fe1f97bc1aed2422a36b262b131 (diff)
downloadrust-12f667fac30c5d074a0e5c766222b5a7b6c88246.tar.gz
rust-12f667fac30c5d074a0e5c766222b5a7b6c88246.zip
Auto merge of #77294 - shepmaster:try-anchors, r=pietroalbini
Use YAML anchors for try builds

r? `@pietroalbini`
Diffstat (limited to 'src')
-rw-r--r--src/ci/github-actions/ci.yml26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/ci/github-actions/ci.yml b/src/ci/github-actions/ci.yml
index ea7e65a1168..101716d1601 100644
--- a/src/ci/github-actions/ci.yml
+++ b/src/ci/github-actions/ci.yml
@@ -284,18 +284,6 @@ jobs:
               CI_ONLY_WHEN_SUBMODULES_CHANGED: 1
             <<: *job-linux-xl
 
-  try:
-    <<: *base-ci-job
-    name: try
-    env:
-      <<: [*shared-ci-variables, *prod-variables]
-    if: github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'
-    strategy:
-      matrix:
-        include:
-          - name: dist-x86_64-linux
-            <<: *job-linux-xl
-
   auto:
     <<: *base-ci-job
     name: auto
@@ -378,7 +366,8 @@ jobs:
           - name: dist-x86_64-illumos
             <<: *job-linux-xl
 
-          - name: dist-x86_64-linux
+          - &dist-x86_64-linux
+            name: dist-x86_64-linux
             <<: *job-linux-xl
 
           - name: dist-x86_64-linux-alt
@@ -634,6 +623,17 @@ jobs:
           - name: aarch64-gnu
             <<: *job-aarch64-linux
 
+  try:
+    <<: *base-ci-job
+    name: try
+    env:
+      <<: [*shared-ci-variables, *prod-variables]
+    if: github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'
+    strategy:
+      matrix:
+        include:
+          - *dist-x86_64-linux
+
   master:
     name: master
     runs-on: ubuntu-latest