File tree 1 file changed +43
-1
lines changed 1 file changed +43
-1
lines changed Original file line number Diff line number Diff line change 1
- version : 2
1
+ version : 2.1
2
+ orbs :
3
+
2
4
jobs :
3
5
percy-finalize :
4
6
docker :
@@ -183,6 +185,45 @@ jobs:
183
185
environment :
184
186
PYVERSION : python27
185
187
188
+ build-windows-37 : &build-windows
189
+ working_directory : ~/dash
190
+ executor :
191
+ name : win/default
192
+ shell : bash.exe
193
+ environment :
194
+ PYVERSION : python37
195
+ steps :
196
+ - checkout
197
+ - run : echo $PYVERSION > ver.txt
198
+ - restore_cache :
199
+ key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-dev.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
200
+ - run :
201
+ name : ️️🏗️ pip dev requirements
202
+ command : |
203
+ pip install --upgrade virtualenv
204
+ virtualenv venv
205
+ source venv/Scripts/activate
206
+ sed -i '/dash-/d' requires-install.txt
207
+ pip install -e . --no-cache-dir -r requires-install.txt -r requires-dev.txt -r requires-testing.txt --progress-bar off
208
+ - save_cache :
209
+ key : dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-dev.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
210
+ paths :
211
+ - venv
212
+ - run :
213
+ name : ️️🏗️ build core
214
+ command : |
215
+ source venv/Scripts/activate && pip install --no-cache-dir --upgrade -e . --progress-bar off && mkdir packages
216
+ cd dash-renderer && renderer build && python setup.py sdist && mv dist/* ../packages/ && cd ..
217
+ git clone --depth 1 https://github.com/plotly/dash-core-components.git
218
+ cd dash-core-components && npm ci && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
219
+ git clone --depth 1 https://github.com/plotly/dash-renderer-test-components
220
+ cd dash-renderer-test-components && npm ci && npm run build:all && python setup.py sdist && mv dist/* ../packages/ && cd ..
221
+ ls -la packages
222
+ - persist_to_workspace :
223
+ root : ~/dash
224
+ paths :
225
+ - packages/*.tar.gz
226
+
186
227
test-37 : &test
187
228
working_directory : ~/dash
188
229
docker :
@@ -246,6 +287,7 @@ workflows:
246
287
jobs :
247
288
- lint-unit-37
248
289
- build-core-37
290
+ - build-windows-37
249
291
- build-misc-37
250
292
- test-37 :
251
293
requires :
You can’t perform that action at this time.
0 commit comments