diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12e4d1b..488c359 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,10 +86,33 @@ jobs: - name: Install compiler tools on macOS if: runner.os == 'macOS' run: | - brew install make automake swig gmp mpfr boost + brew install make automake swig mpfr boost export PATH="/usr/local/opt/make/libexec/gnubin:$PATH" - - uses: pypa/cibuildwheel@v2.17 + - name: Clone gmp + if: runner.os == 'macOS' + uses: actions/checkout@v4 + with: + repository: gmp-mirror/gmp-6.3 + path: gmp-6.3 + + - name: Build gmp from source for MACOSX_DEPLOYMENT_TARGET + if: runner.os == 'macOS' + env: + MACOSX_DEPLOYMENT_TARGET: "10.9" + working-directory: gmp-6.3 + run: | + brew install texinfo + autoreconf -i -f + ./configure --help + ./configure \ + --prefix=$(brew --prefix) \ + --enable-cxx + touch ./doc/version.texi + make --jobs + make install + + - uses: pypa/cibuildwheel@v2.20 env: CIBW_ARCHS: ${{ matrix.arch }} CIBW_BUILD: cp${{ matrix.python }}-* diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 73a0584..bff083f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -17,6 +17,6 @@ jobs: name: Validate PR title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@v5.5.2 + - uses: amannn/action-semantic-pull-request@v5.5.3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index cda3305..ece5d47 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -62,10 +62,33 @@ jobs: - name: Install compiler tools on macOS if: runner.os == 'macOS' run: | - brew install make automake swig gmp mpfr boost + brew install make automake swig mpfr boost export PATH="/usr/local/opt/make/libexec/gnubin:$PATH" - - uses: pypa/cibuildwheel@v2.17 + - name: Clone gmp + if: runner.os == 'macOS' + uses: actions/checkout@v4 + with: + repository: gmp-mirror/gmp-6.3 + path: gmp-6.3 + + - name: Build gmp from source for MACOSX_DEPLOYMENT_TARGET + if: runner.os == 'macOS' + env: + MACOSX_DEPLOYMENT_TARGET: "10.9" + working-directory: gmp-6.3 + run: | + brew install texinfo + autoreconf -i -f + ./configure --help + ./configure \ + --prefix=$(brew --prefix) \ + --enable-cxx + touch ./doc/version.texi + make --jobs + make install + + - uses: pypa/cibuildwheel@v2.20 env: CIBW_ARCHS: ${{ matrix.arch }} CIBW_BUILD: cp${{ matrix.python }}-*