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 4242 name : Build 35
4343 command : |
4444 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
5145 - run :
5246 name : Prune the output files
5347 command : |
5751 - persist_to_workspace :
5852 root : " ."
5953 paths :
60- - target/release /*
54+ - . /*
6155 build36 :
6256 docker :
6357 - image : broooooklyn/rust-python:3.6
7670 name : Build 36
7771 command : |
7872 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
8573 - run :
8674 name : Prune the output files
8775 command : |
9179 - persist_to_workspace :
9280 root : " ."
9381 paths :
94- - target/release /*
82+ - . /*
9583 build37 :
9684 docker :
9785 - image : broooooklyn/rust-python:3.7
@@ -110,12 +98,6 @@ jobs:
11098 name : Build 37
11199 command : |
112100 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
119101 - run :
120102 name : Prune the output files
121103 command : |
@@ -125,7 +107,34 @@ jobs:
125107 - persist_to_workspace :
126108 root : " ."
127109 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
129138
130139 nightly :
131140 machine : true
@@ -155,9 +164,33 @@ workflows:
155164 - build35 :
156165 requires :
157166 - cargo_fetch
167+ - deploy35 :
168+ requires :
169+ - build35
170+ filters :
171+ tags :
172+ only : /.*/
173+ branches :
174+ only : master
158175 - build36 :
159176 requires :
160177 - cargo_fetch
178+ - deploy36 :
179+ requires :
180+ - build36
181+ filters :
182+ tags :
183+ only : /.*/
184+ branches :
185+ only : master
161186 - build37 :
162187 requires :
163188 - 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