Skip to content

Add all three MSYS2 systems to Windows CI #275

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

Merged
merged 2 commits into from
Dec 29, 2020
Merged

Conversation

awvwgk
Copy link
Member

@awvwgk awvwgk commented Dec 21, 2020

Windows testing is currently limited to the MinGW version preinstalled by choco (GCC 8.1). This PR uses the MSYS2 toolchains to test for the latest GCC/MinGW versions as well.

In total three new CI tests are added:

  1. GCC in MSYS POSIX environment
  2. native MinGW64 compiler
  3. native MinGW32 compiler (see stats: test mean fails for Windows MinGW32 #274 regarding test failure)

With the adjustment of the thresholds in test_mean, this PR also fixes #274

The two tests slightly exceeding the threshold from 1000*epsilion(1._dp):
1. sum( abs( mean(cd3,2) - sum(cd3,2)/real(size(cd3,2), dp) ))
2. sum( abs( mean(d4,2) - sum(d4,2)/real(size(d4,2), dp) ))
@awvwgk awvwgk marked this pull request as ready for review December 21, 2020 18:58
Copy link
Member

@jvdp1 jvdp1 left a comment

Choose a reason for hiding this comment

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

Thank you @awvwgk . It is a nice addition of tests.

@jvdp1 jvdp1 requested review from certik and milancurcic December 27, 2020 19:17
Copy link
Member

@milancurcic milancurcic left a comment

Choose a reason for hiding this comment

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

Windows and CI are not my forte, but this looks good.

@jvdp1
Copy link
Member

jvdp1 commented Dec 29, 2020

I`ll merge this PR. Thank you @awvwgk for the addition of MSYS@ systems to the CI.

@jvdp1 jvdp1 merged commit 3f4578f into fortran-lang:master Dec 29, 2020
@awvwgk awvwgk deleted the win-ci branch December 29, 2020 08:58
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.

stats: test mean fails for Windows MinGW32
3 participants