Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Comment on lines +92 to +113
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@henryiii tagging you for review to see if you know of a more intelligent/faster way to build gmp for source to avoid MACOSX_DEPLOYMENT_TARGET mismatch.

Copy link
Member

@henryiii henryiii Sep 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is more or less what you need to do. If you use CMake for the parent build, you can make it an option to have it do this for you as a sub build, but otherwise, it's fine.

Copy link
Member

@matthewfeickert matthewfeickert Sep 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @henryiii. Okay, so seems like another thing that would benefit from Issue #310 in the future.


- 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
Loading