-
Notifications
You must be signed in to change notification settings - Fork 516
Add job to build Windows executables to deploy.yml #2636
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
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
2eae614
Try building visual studio projects in github actions
deslaughter e91ef3c
Trying to build Windows OpenFAST in github actions
deslaughter 7b05add
Put quotes around build configuration
deslaughter 4e770b9
Specify project and add other executables/upload
deslaughter ebc6890
Remove /Project specification
deslaughter d498562
Enable VS integration
deslaughter bbd3b7e
Change windows version
deslaughter 148dca0
Add MKL install, remove cache
deslaughter eba0476
Fix environment variable handling
deslaughter f97f963
Add all binaries and matlab
deslaughter 5f27cf6
Attempt to fix matlab build
deslaughter 8ad3e0c
Trying to get matlab to build
deslaughter f13442c
Fix matlab build
deslaughter 464d15b
Fix matlab script
deslaughter 919ba28
Update deploy.yml
deslaughter b588f4f
Update deploy.yml
deslaughter ff3fac0
Use MATLAB_ROOT in OpenFAST-Simulink.vfproj
deslaughter 2fb9dfb
Fix type of matlab script
deslaughter 87723a5
Add unsteadyaero driver and controllers
deslaughter 180e153
Copy controllers to bin directory
deslaughter de0e6fe
Disable publish-to-pypi-test
deslaughter 3f9d086
Get tags and ignore vs-build and types changes for version info
deslaughter c007cc0
Working on getting tags without errors
deslaughter 1f27e23
Fix git command to init submodules
deslaughter 4727761
Debugging version info on CI
deslaughter 881846b
Merge remote-tracking branch 'upstream/main' into f/build-windows
deslaughter f3eb4f0
Just print out the git-version tag
deslaughter beffecc
get tags
deslaughter c05b124
Update r-test pointer
deslaughter 71f258b
add origin
deslaughter c2c5c63
Just keep trying
deslaughter f447b6d
Test with actual build
deslaughter 2097f2b
Everything except matlab
deslaughter b341047
Try to remove dirty from version
deslaughter a86ad21
Version works correctly. Make deploy.yml run on release and manual di…
deslaughter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| @call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat" %VS_VER% | ||
|
|
||
| for /f "tokens=* usebackq" %%f in (`dir /b "C:\Program Files (x86)\Intel\oneAPI\compiler\" ^| findstr /V latest ^| sort`) do @set "LATEST_VERSION=%%f" | ||
| @call "C:\Program Files (x86)\Intel\oneAPI\compiler\%LATEST_VERSION%\env\vars.bat" | ||
|
|
||
| @REM Make the script that generates the git version description ignore dirty | ||
| @REM since building the Visual Studio projects modifies files | ||
| powershell -command "(Get-Content -Path '.\vs-build\CreateGitVersion.bat') -replace '--dirty', '' | Set-Content -Path '.\vs-build\CreateGitVersion.bat'" | ||
|
|
||
| echo on | ||
|
|
||
| @REM Build all solutions | ||
| devenv vs-build/AeroDisk/AeroDisk_Driver.sln /Build "Release|x64" | ||
| devenv vs-build/AeroDyn/AeroDyn_Driver.sln /Build "Release|x64" | ||
| devenv vs-build/AeroDyn/AeroDyn_Driver.sln /Build "Release_OpenMP|x64" | ||
| devenv vs-build/AeroDyn_Inflow_c_binding/AeroDyn_Inflow_c_binding.sln /Build "Release|x64" | ||
| devenv vs-build/AeroDyn_Inflow_c_binding/AeroDyn_Inflow_c_binding.sln /Build "Release_OpenMP|x64" | ||
| devenv vs-build/BeamDyn/BeamDyn-w-registry.sln /Build "Release|x64" | ||
| devenv vs-build/Discon/Discon.sln /Build "Release|x64" | ||
| devenv vs-build/FAST-farm/FAST-Farm.sln /Build "Release|x64" | ||
| devenv vs-build/FAST-farm/FAST-Farm.sln /Build "Release_OpenMP|x64" | ||
| devenv vs-build/HydroDyn/HydroDynDriver.sln /Build "Release|x64" | ||
| devenv vs-build/HydroDyn_c_binding/HydroDyn_c_binding.sln /Build "Release|x64" | ||
| devenv vs-build/InflowWind_c_binding/InflowWind_c_binding.sln /Build "Release|x64" | ||
| devenv vs-build/InflowWind/InflowWind_driver.sln /Build "Release|x64" | ||
| devenv vs-build/InflowWind/InflowWind_driver.sln /Build "Release_OpenMP|x64" | ||
| devenv vs-build/MoorDyn/MoorDynDriver.sln /Build "Release|x64" | ||
| devenv vs-build/MoorDyn_c_binding/MoorDyn_c_binding.sln /Build "Release|x64" | ||
| devenv vs-build/FAST/FAST.sln /Build "Release|x64" | ||
| devenv vs-build/SeaState/SeaStateDriver.sln /Build "Release|x64" | ||
| devenv vs-build/SimpleElastoDyn/SimpleElastoDyn_Driver.sln /Build "Release|x64" | ||
| devenv vs-build/SubDyn/SubDyn.sln /Build "Release|x64" | ||
| devenv vs-build/TurbSim/TurbSim.vfproj /Build "Release|x64" | ||
| devenv vs-build/UnsteadyAero/UnsteadyAero.sln /Build "Release|x64" | ||
|
|
||
| @REM Build MATLAB solution last | ||
| devenv vs-build/FAST/FAST.sln /Build "Release_Matlab|x64" | ||
|
|
||
| @REM Copy controllers to bin directory | ||
| xcopy .\reg_tests\r-test\glue-codes\openfast\5MW_Baseline\ServoData\*.dll .\build\bin\ /y | ||
|
|
||
| exit /b %ERRORLEVEL% |
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.