Skip to content

Commit 5b17687

Browse files
committed
Addressing vcpkg problem. Packages are nor found.
1 parent c98dc89 commit 5b17687

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,19 @@ jobs:
7878
7979
- name: Build project
8080
run: |
81+
cd ~
8182
if [ -d build ]; then
8283
echo "Build dir exists"
8384
ls -la build
8485
else
85-
mkdir build
86+
mkdir -v build
8687
fi
8788
pushd build
8889
# echo "ls ~/vcpkg/scripts/buildsystems/vcpkg.cmake"
8990
# ls ~/vcpkg/scripts/buildsystems/vcpkg.cmake
9091
# echo "cat ~/vcpkg/scripts/buildsystems/vcpkg.cmake"
9192
# cat ~/vcpkg/scripts/buildsystems/vcpkg.cmake
92-
cmake .. -DVCPKG_VERBOSE=ON -DRESTC_CPP_THREADED_CTX=ON -DCMAKE_BUILD_TYPE=Release -G "Ninja" -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake
93+
cmake ${GITHUB_WORKSPACE} -DVCPKG_VERBOSE=ON -DRESTC_CPP_THREADED_CTX=ON -DCMAKE_BUILD_TYPE=Release -G "Ninja" -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake
9394
cmake --build .
9495
popd
9596

0 commit comments

Comments
 (0)