Skip to content

Windows

Windows #2318

Workflow file for this run

name: Windows
on:
push:
branches:
- master
- 'dev**'
pull_request:
paths:
- 'command_language/**'
- 'examples/**'
- 'motion_planners/**'
- 'time_parameterization/**'
- 'task_composer/**'
- ".github/workflows/unstable.yml"
- "**.repos"
schedule:
- cron: '0 5 * * *'
jobs:
ci:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-2022]
steps:
- uses: actions/checkout@v7
with:
path: target_ws/src
- name: vcpkg build
uses: johnwason/vcpkg-action@v8
with:
pkgs: >-
fcl bullet3[multithreading,double-precision,rtti] octomap
console-bridge eigen3 yaml-cpp benchmark tinyxml2 assimp orocos-kdl pcl
lapack-reference boost-dll boost-filesystem boost-format boost-stacktrace
boost-program-options boost-graph urdfdom ccd[double-precision] gtest
ompl taskflow jsoncpp flann benchmark cereal
triplet: x64-windows-release
extra-args: --clean-after-build --overlay-ports=${{ github.workspace }}/target_ws/src/.github/workflows/vcpkg_overlays
token: ${{ github.token }}
cache-key: ci-${{ matrix.os }}
- name: configure-msvc
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64
- name: update environment
shell: bash
run: |
echo "PATH=${{ env.PATH }};$GITHUB_WORKSPACE\vcpkg\installed\x64-windows-release\bin" >> "$GITHUB_ENV"
echo "CMAKE_PREFIX_PATH=$GITHUB_WORKSPACE\vcpkg\installed\x64-windows-release" >> "$GITHUB_ENV"
- name: Build and Tests
uses: tesseract-robotics/colcon-action@v14
with:
ccache-prefix: ${{ matrix.distro }}
vcs-file: .github/workflows/windows_dependencies.repos
upstream-args: --cmake-args -G "Ninja" -DVCPKG_TARGET_TRIPLET=x64-windows-release -DCMAKE_BUILD_TYPE=Release -DBUILD_IPOPT=OFF -DBUILD_SNOPT=OFF -DTESSERACT_BUILD_TRAJOPT_IFOPT=ON -DVCPKG_APPLOCAL_DEPS=OFF
target-path: target_ws/src
target-args: --event-handlers console_cohesion+ --packages-ignore tesseract_examples --cmake-args -G "Ninja" -DVCPKG_TARGET_TRIPLET=x64-windows-release -DCMAKE_BUILD_TYPE=Release -DTESSERACT_ENABLE_TESTING=ON -DTESSERACT_BUILD_TRAJOPT_IFOPT=ON -DVCPKG_APPLOCAL_DEPS=OFF -DTESSERACT_ENABLE_EXAMPLES=OFF
run-tests-args: --packages-ignore tesseract_examples