-
-
Notifications
You must be signed in to change notification settings - Fork 254
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 MSYS2 action #3861
Add MSYS2 action #3861
Conversation
cd hdf5 | ||
mkdir build | ||
cd build | ||
cmake -DH5_HAVE_ALARM:INTERNAL=0 -DH5_HAVE_ASPRINTF:INTERNAL=0 -DH5_HAVE_VASPRINTF:INTERNAL=0 .. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably move the alarm, asprintf, and vasprintf checks in CMake so they check on Windows (I'm assuming they are not checked on Win32).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interestingly, they are run all the time. We'll need to figure out why they are not being detected on Windows w/ MSYS2.
git clone https://github.com/HDFgroup/hdf5.git | ||
cd hdf5 | ||
mkdir build | ||
cd build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add steps between configure, build and test
@@ -0,0 +1,57 @@ | |||
name: msys2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change name to match other yml files and add job name with matrix.sys variable
|
||
on: | ||
workflow_dispatch: | ||
push: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At only 12 mins of time we should make this a callable workflow from the cmake.yml.
cd hdf5 | ||
mkdir build | ||
cd build | ||
cmake -DH5_HAVE_ALARM:INTERNAL=0 -DH5_HAVE_ASPRINTF:INTERNAL=0 -DH5_HAVE_VASPRINTF:INTERNAL=0 .. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there is a reason to not use the same configure / build / test steps we use in other CMake yml files?
We should fix the issues raised here and then create a solution that addresses all the issues for MSYS testing. |
Superseded by #3938 |
Some tests fail on all 4 environments.
However, compilation works fine.
clang17 environment needs extra definitions.