File tree Expand file tree Collapse file tree 1 file changed +54
-21
lines changed Expand file tree Collapse file tree 1 file changed +54
-21
lines changed Original file line number Diff line number Diff line change 42
42
name : Build 35
43
43
command : |
44
44
python compile.py build
45
- - run :
46
- name : Upload binary
47
- command : |
48
- if [ "$CIRCLE_TAG" != "" ]; then \
49
- ghr "${CIRCLE_TAG}" build/lib/py_sourcemap/*.so
50
- fi
51
45
- run :
52
46
name : Prune the output files
53
47
command : |
57
51
- persist_to_workspace :
58
52
root : " ."
59
53
paths :
60
- - target/release /*
54
+ - . /*
61
55
build36 :
62
56
docker :
63
57
- image : broooooklyn/rust-python:3.6
76
70
name : Build 36
77
71
command : |
78
72
python compile.py build
79
- - run :
80
- name : Upload binary
81
- command : |
82
- if [ "$CIRCLE_TAG" != "" ]; then \
83
- ghr "${CIRCLE_TAG}" build/lib/py_sourcemap/*.so
84
- fi
85
73
- run :
86
74
name : Prune the output files
87
75
command : |
91
79
- persist_to_workspace :
92
80
root : " ."
93
81
paths :
94
- - target/release /*
82
+ - . /*
95
83
build37 :
96
84
docker :
97
85
- image : broooooklyn/rust-python:3.7
@@ -110,12 +98,6 @@ jobs:
110
98
name : Build 37
111
99
command : |
112
100
python compile.py build
113
- - run :
114
- name : Upload binary
115
- command : |
116
- if [ "$CIRCLE_TAG" != "" ]; then \
117
- ghr "${CIRCLE_TAG}" build/lib/py_sourcemap/*.so
118
- fi
119
101
- run :
120
102
name : Prune the output files
121
103
command : |
@@ -125,7 +107,34 @@ jobs:
125
107
- persist_to_workspace :
126
108
root : " ."
127
109
paths :
128
- - target/release/*
110
+ - ./*
111
+
112
+ deploy35 :
113
+ docker :
114
+ - image : broooooklyn/rust-python:3.5
115
+ working_directory : /mnt/crate
116
+ steps :
117
+ - attach_workspace :
118
+ at : " ."
119
+ - ghr "${CIRCLE_TAG}" build/lib/py_sourcemap/*.so
120
+
121
+ deploy36 :
122
+ docker :
123
+ - image : broooooklyn/rust-python:3.6
124
+ working_directory : /mnt/crate
125
+ steps :
126
+ - attach_workspace :
127
+ at : " ."
128
+ - ghr "${CIRCLE_TAG}" build/lib/py_sourcemap/*.so
129
+
130
+ deploy37 :
131
+ docker :
132
+ - image : broooooklyn/rust-python:3.7
133
+ working_directory : /mnt/crate
134
+ steps :
135
+ - attach_workspace :
136
+ at : " ."
137
+ - ghr "${CIRCLE_TAG}" build/lib/py_sourcemap/*.so
129
138
130
139
nightly :
131
140
machine : true
@@ -155,9 +164,33 @@ workflows:
155
164
- build35 :
156
165
requires :
157
166
- cargo_fetch
167
+ - deploy35 :
168
+ requires :
169
+ - build35
170
+ filters :
171
+ tags :
172
+ only : /.*/
173
+ branches :
174
+ only : master
158
175
- build36 :
159
176
requires :
160
177
- cargo_fetch
178
+ - deploy36 :
179
+ requires :
180
+ - build36
181
+ filters :
182
+ tags :
183
+ only : /.*/
184
+ branches :
185
+ only : master
161
186
- build37 :
162
187
requires :
163
188
- cargo_fetch
189
+ - deploy37 :
190
+ requires :
191
+ - build37
192
+ filters :
193
+ tags :
194
+ only : /.*/
195
+ branches :
196
+ only : master
You can’t perform that action at this time.
0 commit comments