File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 2828 brew install vcpkg
2929 git clone https://github.com/microsoft/vcpkg "$HOME/vcpkg"
3030 export VCPKG_ROOT="$HOME/vcpkg"
31+ sh $VCPKG_ROOT/bootstrap-vcpkg.sh
3132 echo "VCPKG_ROOT=$HOME/vcpkg" >> $GITHUB_ENV
3233 elif [ "$RUNNER_OS" == "Linux" ]; then
3334 echo "VCPKG_ROOT=/usr/local/share/vcpkg" >> $GITHUB_ENV
4748
4849 - name : Install dependencies
4950 run : |
50- make dependencies
51+ vcpkg --x-wait-for-lock integrate install
52+ vcpkg --x-wait-for-lock install
53+
54+ - name : Pre Build
55+ run : >
56+ cmake.exe
57+ -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
58+ -DCMAKE_BUILD_TYPE=Debug
59+ -DCMAKE_C_COMPILER=cl
60+ -DCMAKE_CXX_COMPILER=cl
61+ -S${{ github.workspace }}
62+ -B${{ github.workspace }}/build/default -G "MinGW Makefiles"
63+
64+ - name : Build
65+ run : |
66+ cmake --build build/default
5167
5268 - name : Build
5369 run : |
You can’t perform that action at this time.
0 commit comments