Skip to content

Commit

Permalink
Try to install fmt via vcpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Nov 26, 2024
1 parent e571d7e commit dfacb02
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/reusable-ros-tooling-win-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@ jobs:
with:
python-version: '3.8'

- name: vcpkg build
uses: johnwason/vcpkg-action@v6
id: vcpkg
with:
pkgs: fmt
triplet: x64-windows-release
token: ${{ github.token }}
github-binarycache: true

- run: Write-Output ${{ steps.vcpkg.outputs.vcpkg-cmake-config }} # just for debugging

- uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ inputs.ros_distro }}
Expand Down Expand Up @@ -109,6 +120,11 @@ jobs:
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
colcon-defaults: |
{
"build": {
"cmake-args": [
${{ steps.vcpkg.outputs.vcpkg-cmake-config }},
]
},
"test": {
"executor": "sequential"
}
Expand Down

0 comments on commit dfacb02

Please sign in to comment.