@@ -3,7 +3,7 @@ name: Run Sage CI
3
3
# # This GitHub Actions workflow provides:
4
4
# #
5
5
# # - portability testing, by building and testing this project on many platforms
6
- # # (Linux variants and Cygwin ), each with two configurations (installed packages),
6
+ # # (Linux variants, macOS, Windows with mingw32 ), each with two configurations (installed packages),
7
7
# #
8
8
# # - continuous integration, by building and testing other software
9
9
# # that depends on this project.
49
49
DIST_PREREQ : tar libgmp-dev libmpfr-dev
50
50
# Name of this project in the Sage distribution
51
51
SPKG : flint
52
- # Standard setting: Test the current beta release of Sage:
53
- SAGE_REPO : sagemath/sage
54
- SAGE_REF : develop
55
52
REMOVE_PATCHES : " *"
56
53
57
54
jobs :
60
57
runs-on : ubuntu-latest
61
58
steps :
62
59
- name : Check out ${{ env.SPKG }}
63
- uses : actions/checkout@v2
60
+ uses : actions/checkout@v4
64
61
with :
65
62
path : build/pkgs/${{ env.SPKG }}/src
66
63
- name : Install prerequisites
@@ -75,19 +72,19 @@ jobs:
75
72
&& echo "sage-package create ${{ env.SPKG }} --version git --tarball ${{ env.SPKG }}-git.tar.gz --type=standard" > upstream/update-pkgs.sh \
76
73
&& if [ -n "${{ env.REMOVE_PATCHES }}" ]; then echo "(cd ../build/pkgs/${{ env.SPKG }}/patches && rm -f ${{ env.REMOVE_PATCHES }}; :)" >> upstream/update-pkgs.sh; fi \
77
74
&& ls -l upstream/
78
- - uses : actions/upload-artifact@v2
75
+ - uses : actions/upload-artifact@v4
79
76
with :
80
77
path : upstream
81
78
name : upstream
82
79
83
80
linux :
84
- uses : sagemath/sage /.github/workflows/docker.yml@develop
81
+ uses : passagemath/passagemath /.github/workflows/docker.yml@main
85
82
with :
86
83
# Sage distribution packages to build
87
84
targets : SAGE_CHECK=no SAGE_CHECK_flint=yes flint
88
- # Standard setting: Test the current beta release of Sage :
89
- sage_repo : sagemath/sage
90
- sage_ref : develop
85
+ # Standard setting: Test the current HEAD of passagemath :
86
+ sage_repo : passagemath/passagemath
87
+ sage_ref : main
91
88
upstream_artifact : upstream
92
89
# Docker targets (stages) to tag
93
90
docker_targets : " with-targets"
@@ -97,33 +94,44 @@ jobs:
97
94
needs : [dist]
98
95
99
96
macos :
100
- uses : sagemath/sage /.github/workflows/macos.yml@develop
97
+ uses : passagemath/passagemath /.github/workflows/macos.yml@main
101
98
with :
102
- osversion_xcodeversion_toxenv_tuples : >-
103
- [["latest", "", "homebrew-macos-usrlocal-minimal"],
104
- ["latest", "", "homebrew-macos-usrlocal-standard"]]
105
99
targets : SAGE_CHECK=no SAGE_CHECK_flint=yes flint
106
- # Standard setting: Test the current beta release of Sage:
107
- sage_repo : sagemath/sage
108
- sage_ref : develop
100
+ # Standard setting: Test the current HEAD of passagemath:
101
+ sage_repo : passagemath/passagemath
102
+ sage_ref : main
103
+ upstream_artifact : upstream
104
+ needs : [dist]
105
+
106
+ mingw :
107
+ uses : passagemath/passagemath/.github/workflows/mingw.yml@main
108
+ with :
109
+ # Extra system packages to install. See available packages at
110
+ # https://github.com/passagemath/passagemath/tree/main/build/pkgs
111
+ extra_sage_packages : " info"
112
+ # Sage distribution packages to build
113
+ targets : SAGE_CHECK=no SAGE_CHECK_flint=yes flint
114
+ # Standard setting: Test the current HEAD of passagemath:
115
+ sage_repo : passagemath/passagemath
116
+ sage_ref : main
109
117
upstream_artifact : upstream
110
118
needs : [dist]
111
119
112
120
sage :
113
- uses : sagemath/sage /.github/workflows/docker.yml@develop
121
+ uses : passagemath/passagemath /.github/workflows/docker.yml@main
114
122
with :
115
- # Standard setting: Test the current beta release of Sage :
116
- sage_repo : sagemath/sage
117
- sage_ref : develop
123
+ # Standard setting: Test the current HEAD of passagemath :
124
+ sage_repo : passagemath/passagemath
125
+ sage_ref : main
118
126
upstream_artifact : upstream
119
127
# Build incrementally from published Docker image
120
128
incremental : true
121
129
free_disk_space : true
122
- from_docker_repository : ghcr.io/sagemath/sage /
130
+ from_docker_repository : ghcr.io/passagemath/passagemath /
123
131
from_docker_target : " with-targets"
124
132
from_docker_tag : " dev"
125
133
docker_targets : " with-targets"
126
- targets : " build msolve ptest-nodoc "
134
+ targets : " SAGE_CHECK_passagemath_flint=yes passagemath_flint msolve "
127
135
tox_system_factors : >-
128
136
["debian-bookworm"]
129
137
tox_packages_factors : >-
0 commit comments