Skip to content

Conversation

@andrew-platt
Copy link
Collaborator

Ready to merge.

Feature or improvement description
The Visual Studio projects for MoorDyn were never updated to include the coupling with SeaState. This PR adds the necessary SeaState files to the MD projects, adds a VS project for SeaState_C_Binding.dll, and includes some rearrangement of the file grouping in the HD Visual Studio projects. Also adds the building of the SeaState c-bindings DLL to GitHub deploy action.

Related issue, if one exists
Linking of SeaState into MoorDyn: #2705

Impacted areas of the software
Visual Studio projects, and GitHub action to build the executables.

Additional supporting information
The Visual Studio projects have been reworked in tight-coupling (for v5.0).

Test results, if applicable
No test results change

Moved:
- NTWC_C_Binding.f90 out of library (for better project split out)
- *_C_Binding.f90 to bottom since this is the top level for the DLL build
The random number code (RANLUX.f90 and NWTC_RandomNumber.f90) are not included in the NWTC library module.  So for clarity in the project breakdown, I'm splitting them out.

RanLux was separated out in some of the projects, but ended up with VTK grouped with it.
@andrew-platt andrew-platt added this to the v4.1.0 milestone Jun 17, 2025
@andrew-platt andrew-platt requested a review from deslaughter June 17, 2025 20:27
@andrew-platt andrew-platt self-assigned this Jun 17, 2025
@andrew-platt andrew-platt added System: Visual Studio System: GH actions GitHub actions related workflows/scripting labels Jun 17, 2025
@andrew-platt
Copy link
Collaborator Author

andrew-platt commented Jun 17, 2025

Workflow deploy GH action test here: https://github.com/andrew-platt/openfast/actions/runs/15718059963

Edit: this one failed for reasons I do not understand. Filed bug report with GH here: actions/runner-images#12412

@andrew-platt andrew-platt force-pushed the b/VSbuild_cbinding branch 3 times, most recently from 231cd62 to adf1b6b Compare June 18, 2025 02:01
@andrew-platt
Copy link
Collaborator Author

Rerunning the deploy workflow some time later worked: https://github.com/andrew-platt/openfast/actions/runs/15722311079/job/44305381558
No failed executable builds now.

@andrew-platt andrew-platt changed the title VS build: fix MD, add SS_c_binding VS build: fix MD, add SeaStateS_c_binding and update GH deploy action Jun 18, 2025
@andrew-platt andrew-platt merged commit 45a5627 into OpenFAST:dev Jun 18, 2025
54 of 60 checks passed
@andrew-platt andrew-platt mentioned this pull request Jun 18, 2025
37 tasks
@andrew-platt andrew-platt deleted the b/VSbuild_cbinding branch July 9, 2025 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

System: GH actions GitHub actions related workflows/scripting System: Visual Studio

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants