Skip to content

Commit

Permalink
chore(deps): bump the actions group across 1 directory with 2 updates (
Browse files Browse the repository at this point in the history
…#307)

* chore(deps): bump the actions group across 1 directory with 2 updates

Bumps the actions group with 2 updates in the / directory: [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) and [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request).


Updates `pypa/cibuildwheel` from 2.17 to 2.20
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](pypa/cibuildwheel@v2.17...v2.20)

Updates `amannn/action-semantic-pull-request` from 5.5.2 to 5.5.3
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](amannn/action-semantic-pull-request@v5.5.2...v5.5.3)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>

* ci: Build gmp from source for MACOSX_DEPLOYMENT_TARGET 10.9

* For macos-13 the MACOSX_DEPLOYMENT_TARGET for homebrew installed gmp on
  x86 macOS is different from the version expected by cibuildwheel v2.20.
  This requires building gmp form source under the MACOSX_DEPLOYMENT_TARGET 10.9
  to ensure compatability during the wheel build.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthew Feickert <[email protected]>
  • Loading branch information
dependabot[bot] and matthewfeickert authored Sep 12, 2024
1 parent f90dc72 commit 6fc21d4
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 5 deletions.
27 changes: 25 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
- 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/[email protected]
env:
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_BUILD: cp${{ matrix.python }}-*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/[email protected].2
- uses: amannn/[email protected].3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27 changes: 25 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
- 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/[email protected]
env:
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_BUILD: cp${{ matrix.python }}-*
Expand Down

0 comments on commit 6fc21d4

Please sign in to comment.