FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
DeepSpeech/taskcluster/darwin-opt-base.tyml at master · feicc/DeepSpeech · GitHub
feicc
/
DeepSpeech
Public
forked from
mozilla/DeepSpeech
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Pull requests
27
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
DeepSpeech
/
taskcluster
/
darwin-opt-base.tyml
Copy path
More file actions
More file actions
Latest commit
History
History
History
74 lines (66 loc) · 2.33 KB
Breadcrumbs
DeepSpeech
/
taskcluster
/
darwin-opt-base.tyml
Copy path
File metadata and controls
74 lines (66 loc) · 2.33 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
taskId: ${taskcluster.taskId}
provisionerId: ${taskcluster.generic.provisionerId}
workerType: ${taskcluster.generic.workerType}
taskGroupId: ${taskcluster.taskGroupId}
schedulerId: ${taskcluster.schedulerId}
dependencies:
$map: { $eval: build.dependencies }
each(b):
$eval: as_slugid(b)
created: { $fromNow: '0 sec' }
deadline: { $fromNow: '1 day' }
expires:
$if: 'event.event == "push"'
then: { $fromNow: '6 months' }
else: { $fromNow: '7 days' }
extra:
github:
$if: 'event.event == "push"'
then: { $eval: taskcluster.github_events.merge }
else: { $eval: taskcluster.github_events.pull_request }
routes:
$if: 'event.event == "push"'
then:
{ $eval: build.routes }
payload:
maxRunTime: { $eval: to_int(build.maxRunTime) }
env:
TENSORFLOW_BUILD_ARTIFACT: ${build.tensorflow}
# There is no VM yet running tasks on OSX
# so one should install by hand:
# - brew
# - xcode (brew would install)
# - brew install git
# - brew install pixz
# - brew cask install java
# - sudo easy_install pip
command:
- - "/bin/bash"
- "--login"
- "-cxe"
- >
export TASKCLUSTER_ARTIFACTS="$(pwd)/public/" &&
export TASKCLUSTER_TASK_ROOT="$(pwd)" &&
env &&
(wget -O - $TENSORFLOW_BUILD_ARTIFACT | pixz -d | tar -C $(dirname "$TASKCLUSTER_TASK_ROOT") -xf - ) &&
export TASKCLUSTER_TASK_DIR="$(find $(dirname `pwd`) -name "task-*" -type d -mindepth 1 -maxdepth 1)" &&
git clone --quiet ${event.head.repo.url} $TASKCLUSTER_TASK_DIR/DeepSpeech/ds/ &&
cd $TASKCLUSTER_TASK_DIR/DeepSpeech/ds && git checkout --quiet ${event.head.sha} &&
ln -s $TASKCLUSTER_TASK_DIR/DeepSpeech/ds/native_client/ $TASKCLUSTER_TASK_DIR/DeepSpeech/tf/native_client &&
cd $TASKCLUSTER_TASK_DIR &&
$TASKCLUSTER_TASK_DIR/DeepSpeech/tf/tc-brew.sh &&
$TASKCLUSTER_TASK_DIR/DeepSpeech/ds/tc-build.sh &&
$TASKCLUSTER_TASK_DIR/DeepSpeech/ds/tc-package.sh;
cd $TASKCLUSTER_TASK_ROOT && rm -fr $TASKCLUSTER_TASK_DIR
artifacts:
- type: "directory"
path: "public/"
expires:
$if: 'event.event == "push"'
then: { $fromNow: '6 months' }
else: { $fromNow: '7 days' }
metadata:
name: ${build.metadata.name}
description: ${build.metadata.description}
owner: ${event.head.user.email}
source: ${event.head.repo.url}
Back
|
FazBrowse Home
|
New Git URL