Skip to content

Commit 3d48df2

Browse files
committed
+1
1 parent 98acd5f commit 3d48df2

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/os.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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') }}
@@ -40,6 +42,6 @@ jobs:
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

scripts/cibw_before_all.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ set -e -x
44

55
GMP_VERSION=6.3.0
66

7+
PREFIX="$(pwd)/.local/"
8+
79
# -- build GMP --
810
curl -s -O https://ftp.gnu.org/gnu/gmp/gmp-${GMP_VERSION}.tar.xz
911
tar -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
2831
make -j6 -s
2932
make -s install
3033
cd ../

0 commit comments

Comments
 (0)