Test wheel builds; correct MPFR build error.

This commit is contained in:
Case Van Horsen 2021-01-29 22:21:17 -08:00
parent 70d17f9002
commit 0068b58fe9
3 changed files with 7 additions and 4 deletions

View file

@ -26,10 +26,12 @@ jobs:
- name: Install cibuildwheel
run: |
python --version
python -m pip install cibuildwheel
- name: Build wheel
run: |
python --version
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BEFORE_BUILD: bash scripts/before_ci_build.sh

View file

@ -9,3 +9,4 @@
* Test wheel build for 2.1.0b6 #3
* Test wheel build for 2.1.0b6 #4
* Test wheel build for 2.1.0b6 #5
* Test wheel build for 2.1.0b6 #6

View file

@ -4,11 +4,11 @@ if [ ! -f finish_before_ci_build ]; then
wget https://gmplib.org/download/gmp/gmp-6.2.0.tar.lz
tar -xvf gmp-6.2.0.tar.lz
cd gmp-6.2.0 && ./configure --enable-fat && make -j4 && make install && cd ../
wget https://www.mpfr.org/mpfr-current/mpfr-4.0.2.tar.gz
wget https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.gz
tar -xvf mpfr-4.1.0.tar.gz
cd mpfr-4.0.2 && ./configure && make -j4 && make install && cd ../
wget https://ftp.gnu.org/gnu/mpc/mpc-1.1.0.tar.gz
tar -xvf mpc-1.1.0.tar.gz
cd mpfr-4.1.0 && ./configure && make -j4 && make install && cd ../
wget https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz
tar -xvf mpc-1.2.1.tar.gz
cd mpc-1.2.1 && ./configure && make -j4 && make install && cd ../
pip install Cython
elif [[ "$OSTYPE" == "darwin"* ]]; then