@@ -3,7 +3,7 @@ name: Run Sage CI
33# # This GitHub Actions workflow provides:
44# #
55# # - 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),
77# #
88# # - continuous integration, by building and testing other software
99# # that depends on this project.
4949 DIST_PREREQ : tar libgmp-dev libmpfr-dev
5050 # Name of this project in the Sage distribution
5151 SPKG : flint
52- # Standard setting: Test the current beta release of Sage:
53- SAGE_REPO : sagemath/sage
54- SAGE_REF : develop
5552 REMOVE_PATCHES : " *"
5653
5754jobs :
6057 runs-on : ubuntu-latest
6158 steps :
6259 - name : Check out ${{ env.SPKG }}
63- uses : actions/checkout@v2
60+ uses : actions/checkout@v4
6461 with :
6562 path : build/pkgs/${{ env.SPKG }}/src
6663 - name : Install prerequisites
@@ -75,19 +72,19 @@ jobs:
7572 && echo "sage-package create ${{ env.SPKG }} --version git --tarball ${{ env.SPKG }}-git.tar.gz --type=standard" > upstream/update-pkgs.sh \
7673 && if [ -n "${{ env.REMOVE_PATCHES }}" ]; then echo "(cd ../build/pkgs/${{ env.SPKG }}/patches && rm -f ${{ env.REMOVE_PATCHES }}; :)" >> upstream/update-pkgs.sh; fi \
7774 && ls -l upstream/
78- - uses : actions/upload-artifact@v2
75+ - uses : actions/upload-artifact@v4
7976 with :
8077 path : upstream
8178 name : upstream
8279
8380 linux :
84- uses : sagemath/sage /.github/workflows/docker.yml@develop
81+ uses : passagemath/passagemath /.github/workflows/docker.yml@main
8582 with :
8683 # Sage distribution packages to build
8784 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
9188 upstream_artifact : upstream
9289 # Docker targets (stages) to tag
9390 docker_targets : " with-targets"
@@ -97,33 +94,44 @@ jobs:
9794 needs : [dist]
9895
9996 macos :
100- uses : sagemath/sage /.github/workflows/macos.yml@develop
97+ uses : passagemath/passagemath /.github/workflows/macos.yml@main
10198 with :
102- osversion_xcodeversion_toxenv_tuples : >-
103- [["latest", "", "homebrew-macos-usrlocal-minimal"],
104- ["latest", "", "homebrew-macos-usrlocal-standard"]]
10599 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
109117 upstream_artifact : upstream
110118 needs : [dist]
111119
112120 sage :
113- uses : sagemath/sage /.github/workflows/docker.yml@develop
121+ uses : passagemath/passagemath /.github/workflows/docker.yml@main
114122 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
118126 upstream_artifact : upstream
119127 # Build incrementally from published Docker image
120128 incremental : true
121129 free_disk_space : true
122- from_docker_repository : ghcr.io/sagemath/sage /
130+ from_docker_repository : ghcr.io/passagemath/passagemath /
123131 from_docker_target : " with-targets"
124132 from_docker_tag : " dev"
125133 docker_targets : " with-targets"
126- targets : " build msolve ptest-nodoc "
134+ targets : " SAGE_CHECK_passagemath_flint=yes passagemath_flint msolve "
127135 tox_system_factors : >-
128136 ["debian-bookworm"]
129137 tox_packages_factors : >-
0 commit comments