File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,13 +25,15 @@ jobs:
2525 - uses : actions/setup-python@v5
2626 with :
2727 python-version : " 3.x"
28+ if : ! ${{ startsWith(matrix.os, 'windows') }}
2829 - uses : msys2/setup-msys2@v2.27.0
2930 with :
3031 install : >-
3132 mingw-w64-ucrt-x86_64-pkg-config
3233 mingw-w64-ucrt-x86_64-gcc
3334 autotools
3435 patch
36+ python-pip
3537 msystem : ucrt64
3638 path-type : inherit
3739 if : ${{ startsWith(matrix.os, 'windows') }}
4042 - run : pip --verbose install .[tests] -Csetup-args=-Dbuildtype=debug
4143 env :
4244 PKG_CONFIG_PATH : .local/lib/pkgconfig
43- - run : |
44- echo $PATH
45- pytest
45+ - run : pytest
46+ env :
47+ LD_LIBRARY_PATH : .local/lib
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ set -e -x
44
55GMP_VERSION=6.3.0
66
7+ PREFIX=" $( pwd) /.local/"
8+
79# -- build GMP --
810curl -s -O https://ftp.gnu.org/gnu/gmp/gmp-${GMP_VERSION} .tar.xz
911tar -xf gmp-${GMP_VERSION} .tar.xz
@@ -24,7 +26,8 @@ rm config.guess && mv configfsf.guess config.guess && chmod +x config.guess
2426 --enable-shared \
2527 --disable-static \
2628 --with-pic \
27- --disable-alloca -q
29+ --disable-alloca \
30+ --prefix=$PREFIX -q
2831make -j6 -s
2932make -s install
3033cd ../
You can’t perform that action at this time.
0 commit comments