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
with:
vcpkgGitCommitId: 'c8696863d371ab7f46e213d8f5ca923c4aef2a00'
vcpkgArguments: '--triplet=${{ matrix.vcpkg_triplet }}'
doNotUpdateVcpkg: true
doNotUpdateBaseline: true
# Configure CMake
runVcpkgInstall: true
vcpkgJsonGlob: '**/vcpkg.json'
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
- name: Configure CMake (Linux/macOS)
if: runner.os != 'Windows'
run: |

View File

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