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 MSYS2 action #3861

Closed
wants to merge 1 commit into from
Closed

Conversation

hyoklee
Copy link
Member

@hyoklee hyoklee commented Nov 20, 2023

Some tests fail on all 4 environments.
However, compilation works fine.
clang17 environment needs extra definitions.

@derobins derobins added Merge - To 1.14 Priority - 1. High 🔼 These are important issues that should be resolved in the next release Component - Testing Code in test or testpar directories, GitHub workflows Component - Build CMake, Autotools labels Nov 21, 2023
cd hdf5
mkdir build
cd build
cmake -DH5_HAVE_ALARM:INTERNAL=0 -DH5_HAVE_ASPRINTF:INTERNAL=0 -DH5_HAVE_VASPRINTF:INTERNAL=0 ..
Copy link
Member

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).

Copy link
Member

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
Copy link
Contributor

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
Copy link
Contributor

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:
Copy link
Contributor

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 ..
Copy link
Contributor

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?

@byrnHDF
Copy link
Contributor

byrnHDF commented Dec 1, 2023

We should fix the issues raised here and then create a solution that addresses all the issues for MSYS testing.

@bmribler bmribler marked this pull request as ready for review December 22, 2023 21:44
@byrnHDF
Copy link
Contributor

byrnHDF commented Jan 10, 2024

Superseded by #3938

@byrnHDF byrnHDF closed this Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Build CMake, Autotools Component - Testing Code in test or testpar directories, GitHub workflows Priority - 1. High 🔼 These are important issues that should be resolved in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants