@@ -50,20 +50,6 @@ concurrency:
5050 group : ${{ github.workflow }}-${{ github.ref }}
5151 cancel-in-progress : true
5252
53- env :
54- # Ubuntu packages to install so that the project's "setup.py sdist" can succeed
55- DIST_PREREQ : python3-setuptools autoconf
56- # Name of this project in the Sage distribution
57- SPKG : cysignals
58- # Sage distribution packages to build
59- TARGETS_PRE : build/make/Makefile
60- TARGETS : SAGE_CHECK=no SAGE_CHECK_PACKAGES="cysignals,cypari" cysignals cypari
61- TARGETS_OPTIONAL : build/make/Makefile
62- # Standard setting: Test the current beta release of Sage
63- SAGE_REPO : sagemath/sage
64- SAGE_REF : develop
65- REMOVE_PATCHES : " *"
66-
6753jobs :
6854
6955 dist :
8470 && echo "sage-package create ${{ env.SPKG }} --version git --tarball ${{ env.SPKG }}-git.tar.gz --type=standard" > upstream/update-pkgs.sh \
8571 && if [ -n "${{ env.REMOVE_PATCHES }}" ]; then echo "(cd ../build/pkgs/${{ env.SPKG }}/patches && rm -f ${{ env.REMOVE_PATCHES }}; :)" >> upstream/update-pkgs.sh; fi \
8672 && ls -l upstream/
87- - uses : actions/upload-artifact@v2
73+ - name : Upload artifact
74+ uses : actions/upload-artifact@v4
8875 with :
8976 path : upstream
9077 name : upstream
11299 choco install make autoconf gcc-core gcc-g++ python3${{ matrix.python-version }}-devel --source cygwin
113100 - name : Install dependencies
114101 run : |
115- C:\\tools\\cygwin\\bin\\bash -l -x -c 'export PATH=/usr/local/bin:/usr/bin && cd $(cygpath -u "$GITHUB_WORKSPACE") && python3.${{ matrix.python-version }} -m pip install --upgrade pip'
102+ C:\\tools\\cygwin\\bin\\bash -l -x -c 'export PATH=/usr/local/bin:/usr/bin && cd $(cygpath -u "$GITHUB_WORKSPACE") && python3.${{ matrix.python-version }} -m pip install --upgrade pip && python3.${{ matrix.python-version }} -m pip install --upgrade -r requirements.txt '
116103 - name : Build and check
117104 run : |
118105 C:\\tools\\cygwin\\bin\\bash -l -x -c 'export PATH=/usr/local/bin:/usr/bin && cd $(cygpath -u "$GITHUB_WORKSPACE") && make check PYTHON=python3.${{ matrix.python-version }}'
@@ -135,7 +122,8 @@ jobs:
135122 python-version : ${{ matrix.python-version }}
136123 - name : Install dependencies
137124 run : |
138- python -m pip install --upgrade pip
125+ pip install --upgrade pip
126+ pip install --upgrade -r requirements.txt
139127 - name : Build and check
140128 run : |
141129 make -j4 check
@@ -196,7 +184,8 @@ jobs:
196184 - name : Install dependencies
197185 run : |
198186 brew install autoconf
199- python -m pip install --upgrade pip
187+ pip install --upgrade pip
188+ pip install --upgrade -r requirements.txt
200189 - name : Build and check
201190 # Work around https://github.com/sagemath/cysignals/issues/179
202191 run : |
0 commit comments