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

Add tests with DMD / LDC master #87

Closed
wants to merge 3 commits into from
Closed

Add tests with DMD / LDC master #87

wants to merge 3 commits into from

Conversation

Geod24
Copy link
Owner

@Geod24 Geod24 commented Jul 21, 2020

No description provided.

@Geod24
Copy link
Owner Author

Geod24 commented Jul 21, 2020

Or perhaps I should just switch to Github Actions to have cross-platform testing...

@Geod24 Geod24 force-pushed the test-with-upstream branch 4 times, most recently from 850f8f1 to bc0bc4d Compare July 21, 2020 01:48
@Geod24
Copy link
Owner Author

Geod24 commented Jul 21, 2020

Well LDC still has the regression we caught: ldc-developers/ldc#3501 (comment)

@Geod24 Geod24 force-pushed the test-with-upstream branch 2 times, most recently from ed12ac4 to e2b8ae3 Compare July 23, 2020 00:58
@Geod24
Copy link
Owner Author

Geod24 commented Jul 23, 2020

Updated with a workaround for the Windows ICE we found (yay): ldc-developers/ldc#3517 (comment)

@AndrejMitrovic
Copy link
Contributor

Ideally, these descriptors would be truly unique, but WinEH depends on string comparisons to check for matching catch clauses

what the..

@@ -103,6 +103,7 @@ module geod24.LocalRest;

static import C = geod24.concurrency;
Copy link
Contributor

Choose a reason for hiding this comment

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

our of spawn => out of spawn

Copy link
Owner Author

Choose a reason for hiding this comment

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

What ? Where is this written ?

Copy link
Contributor

Choose a reason for hiding this comment

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

In the commit message. Sorry github makes it not easy to comment on the actual commit message.

@Geod24
Copy link
Owner Author

Geod24 commented Jul 23, 2020

dlang/druntime#2874

fail-fast: false
matrix:
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ]
dc: [ ldc-master, dmd-master, ldc-latest, dmd-latest, ldc-1.17.0, dmd-2.088.1 ]
Copy link
Contributor

Choose a reason for hiding this comment

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

How about gdc? We don't want to support it yet?

Copy link
Contributor

Choose a reason for hiding this comment

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

s/we/you

Copy link
Owner Author

Choose a reason for hiding this comment

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

Riiiiiight, I'll add it back

@AndrejMitrovic
Copy link
Contributor

dlang/druntime#2874

I remember typeinfo in DLLs on Windows being a problem.. 10 years ago. :D

@Geod24 Geod24 force-pushed the test-with-upstream branch 3 times, most recently from 1040b92 to 4d1e3cc Compare July 23, 2020 04:07
@AndrejMitrovic
Copy link
Contributor

AndrejMitrovic commented Jul 24, 2020

I cannot reproduce the bug. :/

I tried DMD 2.091.0, 2.092.1, and ldc 1.21.0 on my Windows machine (cmd.exe not WSL). It seems maybe it's sensitive to the environment - maybe I have too much RAM (16GB)? I'm not sure how much is available on the CI.

@AndrejMitrovic
Copy link
Contributor

Correction I only have 8GB of RAM, so that can't be it.

This was reported by the LDC developers as being the source of an ICE
we are seeing on Windows.
Using Github Actions allows us to have testing on all three platforms.

Additionally, the minimum version have been raised.
Versions lower than 2.088.1 / LDC 1.17.0 do not work on Mac OSX 10.15 (Catalina)
because of the removal of a private API Druntime was using.
Additionally, we caught a few regressions which were only recently fixed.
@Geod24 Geod24 force-pushed the test-with-upstream branch from 56fc5b2 to 1317e7d Compare October 15, 2020 08:37
@codecov
Copy link

codecov bot commented Oct 15, 2020

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.65%. Comparing base (e99a4ab) to head (1317e7d).
Report is 59 commits behind head on v0.x.x.

Additional details and impacted files
@@            Coverage Diff             @@
##           v0.x.x      #87      +/-   ##
==========================================
+ Coverage   94.62%   94.65%   +0.02%     
==========================================
  Files           4        4              
  Lines         875      879       +4     
==========================================
+ Hits          828      832       +4     
  Misses         47       47              
Flag Coverage Δ
unittest 94.65% <100.00%> (?)
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@Geod24
Copy link
Owner Author

Geod24 commented Jan 24, 2025

Done in #135

@Geod24 Geod24 closed this Jan 24, 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