-
Notifications
You must be signed in to change notification settings - Fork 54
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 Windows builds to CI #92
Comments
I really don't use ROS on Windows, so this would not be something I would take on, unless I can more-or-less copy a configuration from somewhere else. |
Related docs on CI for ROS on Windows:
For non-ROS compilation, as mentioned in #70 (comment) it would be great to have a job for checking that case, it should be sufficient to have a simple GitHub Action like: name: vcpkg Workflow
on:
push:
pull_request:
schedule:
# * is a special character in YAML so you have to quote this string
# Execute a "nightly" build at 2 AM UTC
- cron: '0 2 * * *'
jobs:
build:
name: 'vcpkg job'
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- name: Install vcpkg Dependencies
shell: bash
run: |
${VCPKG_INSTALLATION_ROOT}/vcpkg.exe install --triplet x64-windows boost-asio boost-math boost-smart-ptr protobuf
- name: Build the project
shell: bash
run: |
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake ..
cmake --config Release --build .
cmake --install . For the non-ROS vcpkg case, I would be happy to open a PR. |
We can setup Actions here on this repository. If you could submit a PR, that would be great. |
@traversaro: there is no real pressing need, but would you happen to have had a chance to take a look at the Windows CI setup? |
Still on my todo list, Latest update was in #93, I did not investigate in details but it seems that the latest protobuf and/or CMake has some kind of problem in the producing the correct path of the generated headers when the |
Hm. I seem to remember running into this myself. We could create a sub |
Actually that is explicitly not supported by
|
Hm. Blah. |
As the library does support Windows (see also #44, #70 and #91), it would be good to add Windows builds to the CI configuration.
industrial_ci
will probably not be able to help, but we could look at other ROS (ROS2?) packages which have Windows builds as part of their CI and mimic their setup.The text was updated successfully, but these errors were encountered: