41
41
42
42
- restore_cache :
43
43
keys :
44
- - -{{ checksum "Makefile.envs" }}-v20201205-
44
+ - -{{ checksum "Makefile.envs" }}-v20201205-
45
45
46
46
- run :
47
47
name : build emsdk
88
88
paths :
89
89
- .
90
90
91
-
92
91
- store_artifacts :
93
92
path : /root/repo/build/
94
93
@@ -102,7 +101,7 @@ jobs:
102
101
103
102
- restore_cache :
104
103
keys :
105
- - -{{ checksum "Makefile.envs" }}-v20201205-
104
+ - -{{ checksum "Makefile.envs" }}-v20201205-
106
105
107
106
- run :
108
107
name : build packages
@@ -207,7 +206,6 @@ jobs:
207
206
npm install
208
207
npm test
209
208
210
-
211
209
benchmark :
212
210
<< : *defaults
213
211
steps :
@@ -252,7 +250,7 @@ jobs:
252
250
- run :
253
251
name : Deploy to pyodide-cdn2.iodide.io
254
252
command : |
255
- find build/ -type f -exec sh - c "echo \"Compressing {} \"; gzip {} ; mv {} .gz {};" \;
253
+ find build/ -type f -print0 | xargs -0 -n1 -I@ bash - c "echo \"Compressing @ \"; gzip @ ; mv @ .gz @;"
256
254
aws s3 sync build/ "s3://pyodide-cdn2.iodide.io/v${CIRCLE_TAG}/full/" --exclude '*.data' --cache-control 'max-age=30758400, immutable, public' --content-encoding 'gzip' # 1 year cache
257
255
aws s3 sync build/ "s3://pyodide-cdn2.iodide.io/v${CIRCLE_TAG}/full/" --exclude '*' --include '*.data' --cache-control 'max-age=30758400, immutable, public' --content-type 'application/wasm' --content-encoding 'gzip' # 1 year
258
256
# update 301 redirect for the /latest/* route.
@@ -281,7 +279,7 @@ jobs:
281
279
- run :
282
280
name : Deploy to pyodide-cdn2.iodide.io
283
281
command : |
284
- find build/ -type f -exec sh - c "echo \"Compressing {} \"; gzip {} ; mv {} .gz {};" \;
282
+ find build/ -type f -print0 | xargs -0 -n1 -I@ bash - c "echo \"Compressing @ \"; gzip @ ; mv @ .gz @;"
285
283
aws s3 rm --recursive "s3://pyodide-cdn2.iodide.io/dev/full/"
286
284
aws s3 sync build/ "s3://pyodide-cdn2.iodide.io/dev/full/" --exclude '*.data' --cache-control 'max-age=3600, public' --content-encoding 'gzip' # 1 hour cache
287
285
aws s3 sync build/ "s3://pyodide-cdn2.iodide.io/dev/full/" --exclude '*' --include '*.data' --cache-control 'max-age=3600, public' --content-type 'application/wasm' --content-encoding 'gzip' # 1 hour cache
@@ -344,7 +342,6 @@ workflows:
344
342
tags :
345
343
only : /.*/
346
344
347
-
348
345
- test-main :
349
346
name : test-core-chrome-webworker
350
347
test-params : -k chrome src/tests/test_webworker.py
@@ -363,7 +360,6 @@ workflows:
363
360
tags :
364
361
only : /.*/
365
362
366
-
367
363
- test-main :
368
364
name : test-packages-chrome
369
365
test-params : -k chrome packages/test* packages/*/test*
@@ -391,7 +387,6 @@ workflows:
391
387
tags :
392
388
only : /.*/
393
389
394
-
395
390
- test-emsdk :
396
391
requires :
397
392
- build-core
0 commit comments