Skip to content

Commit bd17ada

Browse files
committed
gh actions: fix windows build
1 parent 39abcac commit bd17ada

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
choco install -y wget unzip
4949
# To avoid problems with non-relocatable packages, we unzip the archive exactly in the same C:/vcpkg-robotology
5050
# that has been used to create the pre-compiled archive
51-
cd C:/
51+
cd D:/
5252
wget https://github.com/robotology-playground/robotology-superbuild-dependencies/releases/download/v0.0.2/vcpkg-robotology.zip
5353
unzip vcpkg-robotology.zip
5454
@@ -143,7 +143,7 @@ jobs:
143143
run: |
144144
mkdir -p build
145145
cd build
146-
cmake -A x64 -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg-robotology/scripts/buildsystems/vcpkg.cmake \
146+
cmake -A x64 -DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROBOTOLOGY_ROOT}/scripts/buildsystems/vcpkg.cmake \
147147
-DCMAKE_PREFIX_PATH=${GITHUB_WORKSPACE}/install -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install \
148148
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ..
149149

0 commit comments

Comments
 (0)