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 macOS CI #31

Conversation

amyspark
Copy link
Sponsor Collaborator

@amyspark amyspark commented Sep 3, 2023

👋
This MR is intended to appease macOS CI. The sole issue was that there is a dynamic loader race condition with regards to the crunch that's linked to the runner by Meson (loaded with rpath) and the one that's linked to the test libraries (loaded with full path).

@codecov
Copy link

codecov bot commented Sep 3, 2023

Codecov Report

Patch coverage has no change and project coverage change: -49.42% ⚠️

Comparison is base (b81563b) 84.89% compared to head (3890c0b) 35.48%.

❗ Current head 3890c0b differs from pull request most recent head b94e90a. Consider uploading reports for the commit b94e90a to get more accurate results

Additional details and impacted files
@@                      Coverage Diff                      @@
##           fix/static-linked-builds      #31       +/-   ##
=============================================================
- Coverage                     84.89%   35.48%   -49.42%     
=============================================================
  Files                            27       26        -1     
  Lines                          2575     2100      -475     
  Branches                        574      699      +125     
=============================================================
- Hits                           2186      745     -1441     
- Misses                          382     1028      +646     
- Partials                          7      327      +320     
Files Changed Coverage Δ
crunch/Core.c 0.00% <ø> (-98.47%) ⬇️
crunch/crunch.c 0.00% <0.00%> (-74.77%) ⬇️

... and 22 files with indirect coverage changes

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

@amyspark amyspark force-pushed the amyspark/fix/static-linked-builds branch 4 times, most recently from 3890c0b to 236bdc6 Compare September 3, 2023 20:16
@amyspark amyspark changed the title meson: Test which test is causing the Crunch runner to crash on CI Fix macOS CI Sep 3, 2023
@amyspark amyspark force-pushed the amyspark/fix/static-linked-builds branch from 236bdc6 to 051895a Compare September 3, 2023 20:24
crunch/crunch.c Outdated Show resolved Hide resolved
.github/workflows/build-windows.yml Outdated Show resolved Hide resolved
@amyspark amyspark force-pushed the amyspark/fix/static-linked-builds branch from 051895a to b94e90a Compare September 4, 2023 12:17
Copy link
Owner

@dragonmux dragonmux left a comment

Choose a reason for hiding this comment

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

LGTM, merging!

@dragonmux dragonmux merged commit b94e90a into dragonmux:fix/static-linked-builds Sep 4, 2023
@amyspark amyspark deleted the amyspark/fix/static-linked-builds branch September 7, 2023 13:54
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.

None yet

2 participants