Skip to content

WIP: fix: support musl on Linux #4182

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

Closed
wants to merge 15 commits into from
Closed

Conversation

@jpnurmi jpnurmi force-pushed the fix/musl branch 15 times, most recently from 8bd1848 to c7d9c64 Compare May 12, 2025 16:56
uses: actions/cache/restore@v4
with:
path: src/Sentry/Platforms/Native/sentry-native
key: sentry-native-alpine:3.21-${{ hashFiles('scripts/build-sentry-native.ps1') }}-${{ hashFiles('.git/modules/modules/sentry-native/HEAD') }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe use ${{ !matrix.runner.container }} here instead of hard coding alpine:3.21?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I resorted to temporarily hard-coding it because the macOS publishing job doesn't have matrix.runner.container defined. How about defining a helper "target" variable in the matrix so that one could use something prettier like 'Linux-musl' as a cache key? At the same time, it could help selecting a different .slnf because the Android SDK Build-Tools contain musl-incompatible prebuilt binaries... 🙁

@jamescrosswell
Copy link
Collaborator

Looks like an awesome start @jpnurmi - massive thank you 🚀 ❤️

Copy link

codecov bot commented May 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.94%. Comparing base (495e742) to head (049de1f).
Report is 593 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4182      +/-   ##
==========================================
- Coverage   75.73%   72.94%   -2.79%     
==========================================
  Files         357      452      +95     
  Lines       13466    16439    +2973     
  Branches     2671     3283     +612     
==========================================
+ Hits        10198    11992    +1794     
- Misses       2593     3608    +1015     
- Partials      675      839     +164     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jpnurmi
Copy link
Collaborator Author

jpnurmi commented May 14, 2025

Superseded by #4188

@jpnurmi jpnurmi closed this May 14, 2025
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