Closed Levi-Armstrong closed 5 years ago
Assuming the Travis CI build works it should be fine. I'd suggest moving the setup and batch files into the centralized CI test repo since it will be the same for all projects.
@gavanderhoorn Where do you think I should put the repository for holding the two .bat
files for building on windows?
@johnwason I moved the two .bat file to my gist for now instead of creating a repository two host just these two file. Does any one see any issues with this?
If you want to store it in a gist you could combine the two scripts into a single file and have a command line option to select "install" and "build". Batch file syntax is a little... different but it shouldn't be too difficult.
This is untested but should give the general idea
IF %1 == "install" (
rem do install
exit /b 0
)
IF %1 == "build" (
rem do build
exit /b 0
)
echo "Unknown command"
exit /b 1
@gavanderhoorn Where do you think I should put the repository for holding the two
.bat
files for building on windows?
We could create a repository on ros-industrial
.
It might also be nice to see whether we could upstream this to fi industrial_ci
.
@ipa-mdl: have you considered adding Windows support?
@johnwason I tried the combined file approach but CI now keeps terminating because no output is recieved. Do you see any issues?
Also I had to remove the "
to stop getting a syntax error but then ran into the issue previously described:
cmd "/C call travis_ci_windows_install.bat"
to
cmd /C call travis_ci_windows_combined.bat build
It looks like if you add a space after the argument it works. Try this:
cmd "/C call travis_ci_windows_combined.bat build "
@johnwason The extra space solved the problem.
It looks like everything is working now. It currently pulls a single gist file to build and install. @gavanderhoorn and @johnwason is there anything else that needs to be addressed before merging?
Looks ok to me
@johnwason Is there anything that needs to be done for the shared libraries on windows build?
This repo appears to be header only without libraries being built.
See #34 for a cleaner option for Windows builds
@johnwason I took your implementation for integrating windows ci and made a few modifications. Can you take a look?