Skip to content

Commit

Permalink
Addressing vcpkg problem. Packages are not found.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaa committed Aug 16, 2024
1 parent c1e8bce commit 15daf70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with:
path: |
~/vcpkg
~/build/vcpkg_installed
~/vcpkg_installed
${{ env.HOME }}/.cache/vcpkg/archives
${{ env.XDG_CACHE_HOME }}/vcpkg/archives
${{ env.LOCALAPPDATA }}\vcpkg\archives
Expand Down Expand Up @@ -73,7 +73,6 @@ jobs:
- name: Install dependencies
run: |
cp -v ci/vcpkg/vcpkg.json .
#vcpkg integrate install
vcpkg install
- name: Build project
Expand All @@ -92,7 +91,7 @@ jobs:
# echo "cat ~/vcpkg/scripts/buildsystems/vcpkg.cmake"
# cat ~/vcpkg/scripts/buildsystems/vcpkg.cmake
set -x
cmake -DVCPKG_VERBOSE=ON -DRESTC_CPP_THREADED_CTX=ON -DCMAKE_BUILD_TYPE=Release -G "Ninja" -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake ${GITHUB_WORKSPACE}
cmake -DVCPKG_INSTALLED_DIR=~/vcpkg_installed -DVCPKG_VERBOSE=ON -DRESTC_CPP_THREADED_CTX=ON -DCMAKE_BUILD_TYPE=Release -G "Ninja" -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake ${GITHUB_WORKSPACE}
cmake --build .
popd
Expand Down
1 change: 1 addition & 0 deletions ci/vcpkg/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "restc-cpp",
"license": "MIT",
"dependencies": [
"boost-headers"
"boost-system",
"boost-context",
"boost-coroutine",
Expand Down

0 comments on commit 15daf70

Please sign in to comment.