Fix simulink build for Windows in GH Actions#3162
Merged
andrew-platt merged 2 commits intoOpenFAST:devfrom Jan 21, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes Windows executable build failures in GitHub Actions by updating the Intel oneAPI installation process and cleaning up leftover build files. The changes upgrade from the older IFORT compiler to IFX and reduce workflow runtime to approximately 1 hour.
Changes:
- Consolidated two separate Intel oneAPI installations (BaseKit + HPCKit) into a single Fortran Essentials 2025.3.0 installation
- Added cleanup of
build/libdirectory before building the MATLAB configuration to prevent issues from leftover files
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/deploy.yml | Simplified Intel oneAPI installation by replacing BaseKit and HPCKit with Fortran Essentials toolkit |
| .github/scripts/build_windows_executables.bat | Added build/lib directory cleanup before MATLAB solution build to prevent leftover file conflicts |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
andrew-platt
approved these changes
Jan 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is ready to be merged.
Feature or improvement description
This PR fixes the issue with building Windows executables in Github Actions. It also updates the action to use the latest Intel oneAPI Fortran Essentials toolkit with reduces the runtime to 1 hour and upgrades to the IFX compiler instead of IFORT. These changes worked when manually running the deploy workflow for this branch.
I think the main issue was leftover files from previous builds in the
build/libdirectory, so a command was used to remove it before building theRelease_MATLABconfiguration.Impacted areas of the software
deploy.ymlandbuild_windows_executables.bat