Update CI workflow and add header inclusion in bps.cc

- Modified the CI workflow to enable vcpkg installation and specify the vcpkg directory and JSON glob for better dependency management.
- Added <cstring> header inclusion in bps.cc to support string manipulation functionalities.
This commit is contained in:
scawful
2025-09-26 09:32:42 -04:00
parent 907e29a495
commit 8d66dbc0e4
2 changed files with 4 additions and 5 deletions

View File

@@ -153,11 +153,9 @@ jobs:
uses: lukka/run-vcpkg@v11 uses: lukka/run-vcpkg@v11
with: with:
vcpkgGitCommitId: 'c8696863d371ab7f46e213d8f5ca923c4aef2a00' vcpkgGitCommitId: 'c8696863d371ab7f46e213d8f5ca923c4aef2a00'
vcpkgArguments: '--triplet=${{ matrix.vcpkg_triplet }}' runVcpkgInstall: true
doNotUpdateVcpkg: true vcpkgJsonGlob: '**/vcpkg.json'
doNotUpdateBaseline: true vcpkgDirectory: '${{ github.workspace }}/vcpkg'
# Configure CMake
- name: Configure CMake (Linux/macOS) - name: Configure CMake (Linux/macOS)
if: runner.os != 'Windows' if: runner.os != 'Windows'
run: | run: |

View File

@@ -7,6 +7,7 @@
#include <vector> #include <vector>
#include <stdexcept> #include <stdexcept>
#include <cmath> #include <cmath>
#include <cstring>
namespace yaze { namespace yaze {
namespace util { namespace util {