|
1 | 1 | name: CI
|
2 | 2 |
|
3 |
| -## This GitHub Actions workflow provides: |
4 |
| -## |
5 |
| -## - portability testing, by building and testing this project on many platforms |
6 |
| -## (Linux variants and Cygwin), each with two configurations (installed packages), |
7 |
| -## |
8 |
| -## - continuous integration, by building and testing other software |
9 |
| -## that depends on this project. |
10 |
| -## |
11 |
| -## It runs on every pull request and push of a tag to the GitHub repository. |
12 |
| -## |
13 |
| -## The testing can be monitored in the "Actions" tab of the GitHub repository. |
14 |
| -## |
15 |
| -## After all jobs have finished (or are canceled) and a short delay, |
16 |
| -## tar files of all logs are made available as "build artifacts". |
17 |
| -## |
18 |
| -## This GitHub Actions workflow uses the portability testing framework |
19 |
| -## of SageMath (https://www.sagemath.org/). For more information, see |
20 |
| -## https://doc.sagemath.org/html/en/developer/portability_testing.html |
21 |
| - |
22 |
| -## The workflow consists of two jobs: |
23 |
| -## |
24 |
| -## - First, it builds a source distribution of the project |
25 |
| -## and generates a script "update-pkgs.sh". It uploads them |
26 |
| -## as a build artifact named upstream. |
27 |
| -## |
28 |
| -## - Second, it checks out a copy of the SageMath source tree. |
29 |
| -## It downloads the upstream artifact and replaces the project's |
30 |
| -## package in the SageMath distribution by the newly packaged one |
31 |
| -## from the upstream artifact, by running the script "update-pkgs.sh". |
32 |
| -## Then it builds a small portion of the Sage distribution. |
33 |
| -## |
34 |
| -## Many copies of the second step are run in parallel for each of the tested |
35 |
| -## systems/configurations. |
36 |
| - |
37 |
| -#on: [push, pull_request] |
38 |
| - |
39 | 3 | on:
|
40 | 4 | pull_request:
|
41 | 5 | types: [opened, synchronize]
|
|
0 commit comments