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

Fix failing GitHub Actions #59

Closed
wants to merge 3 commits into from
Closed

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Jan 25, 2025

    - name: "macOS: brew install gmp"
      if: runner.os == 'macOS'
      run: brew install gmp

https://formulae.brew.sh/formula/gmp


https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast


macOS:

gmp_test.c:1:10: fatal error: 'gmp.h' file not found
#include <gmp.h>
         ^~~~~~~
1 error generated.
make[1]: *** [gmp_test.o] Error 1
make: *** [gmp-compat-test] Error 2

@cclauss cclauss marked this pull request as ready for review January 25, 2025 21:19
Copy link
Owner

@creachadair creachadair left a comment

Choose a reason for hiding this comment

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

Ah thanks, this suggests the error I'm seeing is mostly just misleading -- it's not really a missing symbol so much as an entirely-missing library 🤦🏻‍♀️

Probably before merging this, I should revert some of the flailing about I did in the meanwhile. Will do that, then perhaps we can update this.

if: runner.os == 'macOS'
run: brew install gmp
- name: make check # unit and compatibility tests
if: matrix.compiler == 'clang'
Copy link
Owner

Choose a reason for hiding this comment

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

This is fine but shouldn't be necessary, since the matrix already excludes gcc for macos.

@cclauss
Copy link
Contributor Author

cclauss commented Jan 25, 2025

Closing in favor of

@cclauss cclauss closed this Jan 25, 2025
creachadair added a commit that referenced this pull request Jan 25, 2025
This (partly) reverts commit 02e154f.

PR #59 is a better solution to this; I thought it was just some missing
symbols, but the whole library is absent (and just poorly signalled).
@cclauss cclauss deleted the patch-1 branch January 25, 2025 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants