Repository navigation
Commit c717f6b
authored
Do not download Python and CGAL on every self-hosted CI run (#782)
`actions/setup-python` downloads a Python build from GitHub on every run
of our ephemeral self-hosted runners. A GitHub 504 during that download
failed the CGAL job in the merge group of #780 today. The changed-line
lint, CGAL and verification-report jobs now make a venv from the
runner's system Python, which is 3.12 on Ubuntu 24.04, the version they
requested. The CGAL job also installs `python3-dev` for the Python
interface it builds. The GitHub-hosted fallback in `test` keeps
`setup-python`, where the toolcache is local.
The first merge-group run of this PR then failed one step later: SIMPLE
fetches CGAL 6.0.1 from GitHub releases on every configure, also in the
CGAL job, which already installs Ubuntu's `libcgal-dev` (5.6), and that
download returned 504 as well. CMake now uses an installed CGAL of
version 5.6 or later, header-only as before; SIMPLE includes only the
AABB-tree, surface-mesh and STL-reader headers, which 5.6 provides.
Without one it fetches 6.0.1 as before, now pinned by SHA-256. Both
configure paths were checked locally, and the wall library builds
against the fetched 6.0.1; the CGAL job compiles and runs the wall tests
against 5.6.
This PR's own merge-group run exercises the changed jobs.
## Risk tier
- [x] T4: parallelism, GPU, dependency, CI, or security-sensitive build
logic
Chris&AI1 parent 5bbb160 commit c717f6b
2 files changed
Lines changed: 46 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | | - | |
74 | | - | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
| |||
457 | 461 | | |
458 | 462 | | |
459 | 463 | | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | 464 | | |
466 | 465 | | |
467 | 466 | | |
| |||
482 | 481 | | |
483 | 482 | | |
484 | 483 | | |
485 | | - | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
486 | 490 | | |
487 | 491 | | |
488 | 492 | | |
| |||
595 | 599 | | |
596 | 600 | | |
597 | 601 | | |
| 602 | + | |
598 | 603 | | |
599 | | - | |
600 | | - | |
601 | | - | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
602 | 609 | | |
603 | 610 | | |
604 | 611 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
411 | | - | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
412 | 413 | | |
413 | 414 | | |
414 | 415 | | |
415 | 416 | | |
416 | 417 | | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
426 | 442 | | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | 443 | | |
431 | 444 | | |
432 | 445 | | |
| |||
0 commit comments