forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita2a6249
committed
ci: macos: use cached macports install
A significant chunk of the time on the macos CI task is spent installingpackages using homebrew. The downloads of the packages are cached, but theinstallation needs to happen every time. We can't cache the whole homebrewinstallation, because it is too large due to pre-installed packages.Speed this up by installing packages using macports and caching theinstallation as .dmg. That's a lot faster than unpacking a tarball.In addition, don't install llvm - it wasn't enabled when building, so it'sjust a waste of time/space.This substantially speeds up the mac CI time, both in the cold cache and inthe warm cache case (the latter from ~1m20s to ~5s).It doesn't seem great to have diverging sources of packages for CI betweenbranches, so backpatch to 15 (where CI was added).Discussion:https://postgr.es/m/20230805202539.r3umyamsnctysdc7@awork3.anarazel.deBackpatch: 15-, where CI was added1 parent881cd9e commita2a6249
2 files changed
+122
-38
lines changedLines changed: 25 additions & 38 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
435 | 435 |
| |
436 | 436 |
| |
437 | 437 |
| |
438 |
| - | |
439 |
| - | |
| 438 | + | |
440 | 439 |
| |
441 | 440 |
| |
442 | 441 |
| |
| |||
459 | 458 |
| |
460 | 459 |
| |
461 | 460 |
| |
462 |
| - | |
463 |
| - | |
464 |
| - | |
465 |
| - | |
466 |
| - | |
467 |
| - | |
468 |
| - | |
469 |
| - | |
470 |
| - | |
471 |
| - | |
472 |
| - | |
473 |
| - | |
474 |
| - | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
475 | 473 |
| |
476 |
| - | |
| 474 | + | |
477 | 475 |
| |
478 |
| - | |
479 |
| - | |
480 |
| - | |
| 476 | + | |
| 477 | + | |
481 | 478 |
| |
482 |
| - | |
483 | 479 |
| |
484 | 480 |
| |
485 | 481 |
| |
486 |
| - | |
487 |
| - | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
488 | 485 |
| |
489 |
| - | |
490 |
| - | |
491 |
| - | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
492 | 489 |
| |
493 | 490 |
| |
494 | 491 |
| |
495 | 492 |
| |
496 |
| - | |
497 |
| - | |
498 |
| - | |
499 |
| - | |
500 |
| - | |
501 |
| - | |
502 |
| - | |
503 |
| - | |
504 |
| - | |
505 |
| - | |
506 |
| - | |
| 493 | + | |
507 | 494 |
| |
508 | 495 |
| |
509 |
| - | |
510 |
| - | |
| 496 | + | |
| 497 | + | |
511 | 498 |
| |
512 | 499 |
| |
513 | 500 |
| |
|
Lines changed: 97 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 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 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + |
0 commit comments
Comments
(0)