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 2a0282b commit c1e8bce
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,24 +78,26 @@ jobs:
- name: Build project
run: |
cd ~
pushd ~
if [ -d build ]; then
echo "Build dir exists"
ls -la build
else
mkdir -v build
fi
pushd build
cd build
pwd
# echo "ls ~/vcpkg/scripts/buildsystems/vcpkg.cmake"
# ls ~/vcpkg/scripts/buildsystems/vcpkg.cmake
# echo "cat ~/vcpkg/scripts/buildsystems/vcpkg.cmake"
# cat ~/vcpkg/scripts/buildsystems/vcpkg.cmake
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
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 --build .
popd
- name: Run Unit Tests
run: |
pushd build
pushd ~/build
ctest -R UNITTESTS . -C Release
popd

0 comments on commit c1e8bce

Please sign in to comment.