Bug 1319228 - Build tup with nightly rust in automation. draft
authorChris Manchester <cmanchester@mozilla.com>
Tue, 22 May 2018 15:11:40 -0700
changeset 798523 668433335f0328a31db90e33ec25f8e8c39c4ca1
parent 798084 b75acf9652937ce79a9bf02de843c100db0e5ec7
child 798524 925104bcd54e9992ebdd4c13182a714817bf340f
push id110779
push userbmo:cmanchester@mozilla.com
push dateTue, 22 May 2018 23:58:11 +0000
bugs1319228
milestone62.0a1
Bug 1319228 - Build tup with nightly rust in automation. MozReview-Commit-ID: 116WemMq8k3
taskcluster/ci/build/linux.yml
taskcluster/ci/toolchain/linux.yml
--- a/taskcluster/ci/build/linux.yml
+++ b/taskcluster/ci/build/linux.yml
@@ -799,17 +799,17 @@ linux64-tup/opt:
         script: "mozharness/scripts/fx_desktop_build.py"
         secrets: true
         custom-build-variant-cfg: tup
         tooltool-downloads: public
         need-xvfb: true
     toolchains:
         - linux64-clang
         - linux64-gcc
-        - linux64-rust
+        - linux64-rust-nightly
         - linux64-sccache
         - linux64-tup
 
 linux64-jsdcov/opt:
     description: "Linux64-JSDCov Opt"
     index:
         product: firefox
         job-name: linux64-jsdcov-opt
--- a/taskcluster/ci/toolchain/linux.yml
+++ b/taskcluster/ci/toolchain/linux.yml
@@ -401,16 +401,39 @@ linux64-rust-1.24:
             '--channel', '1.24.0',
             '--host', 'x86_64-unknown-linux-gnu',
             '--target', 'x86_64-unknown-linux-gnu',
             '--target', 'i686-unknown-linux-gnu',
         ]
         toolchain-alias: linux64-rust
         toolchain-artifact: public/build/rustc.tar.xz
 
+linux64-rust-nightly:
+    description: "rust nightly repack"
+    treeherder:
+        kind: build
+        platform: toolchains/opt
+        symbol: TL(rust-nightly)
+        tier: 1
+    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
+    worker:
+        max-run-time: 7200
+        env:
+            UPLOAD_DIR: artifacts
+    run:
+        using: toolchain-script
+        script: repack_rust.py
+        arguments: [
+            '--channel', 'nightly-2018-05-21',
+            '--host', 'x86_64-unknown-linux-gnu',
+            '--target', 'x86_64-unknown-linux-gnu',
+            '--target', 'i686-unknown-linux-gnu',
+        ]
+        toolchain-artifact: public/build/rustc.tar.xz
+
 linux64-rust-macos-1.24:
     description: "rust repack with macos-cross support"
     treeherder:
         kind: build
         platform: toolchains/opt
         symbol: TL(rust-macos)
         tier: 1
     worker-type: aws-provisioner-v1/gecko-{level}-b-linux