зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1570240 - Use a fetch task artifact to get rust-size source. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40028
This commit is contained in:
Родитель
99201dd8a2
Коммит
fd9831be96
|
@ -291,3 +291,10 @@ tup:
|
||||||
type: git
|
type: git
|
||||||
repo: https://github.com/gittup/tup
|
repo: https://github.com/gittup/tup
|
||||||
revision: 4371a41ba4ece660bf060b598b9eee4c2eb347d8
|
revision: 4371a41ba4ece660bf060b598b9eee4c2eb347d8
|
||||||
|
|
||||||
|
rust-size:
|
||||||
|
description: rust-size source code
|
||||||
|
fetch:
|
||||||
|
type: git
|
||||||
|
repo: https://github.com/luser/rust-size
|
||||||
|
revision: ab659d93b1faba95307df952aefe3fbed3583669
|
||||||
|
|
|
@ -10,6 +10,9 @@ job-defaults:
|
||||||
script: build-rust-size.sh
|
script: build-rust-size.sh
|
||||||
resources:
|
resources:
|
||||||
- 'taskcluster/scripts/misc/tooltool-download.sh'
|
- 'taskcluster/scripts/misc/tooltool-download.sh'
|
||||||
|
fetches:
|
||||||
|
fetch:
|
||||||
|
- rust-size
|
||||||
|
|
||||||
linux64-rust-size:
|
linux64-rust-size:
|
||||||
treeherder:
|
treeherder:
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -x -e -v
|
set -x -e -v
|
||||||
|
|
||||||
OWNER=luser
|
|
||||||
PROJECT=rust-size
|
PROJECT=rust-size
|
||||||
PROJECT_REVISION=ab659d93b1faba95307df952aefe3fbed3583669
|
|
||||||
|
|
||||||
# This script is for building rust-size
|
# This script is for building rust-size
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
|
@ -36,11 +34,7 @@ fi
|
||||||
|
|
||||||
PATH="$PWD/rustc/bin:$PATH"
|
PATH="$PWD/rustc/bin:$PATH"
|
||||||
|
|
||||||
git clone -n https://github.com/${OWNER}/${PROJECT} ${PROJECT}
|
cd $MOZ_FETCHES_DIR/$PROJECT
|
||||||
|
|
||||||
cd $PROJECT
|
|
||||||
|
|
||||||
git checkout $PROJECT_REVISION
|
|
||||||
|
|
||||||
cargo build --verbose --release
|
cargo build --verbose --release
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче