From 8d66dbc0e415199d1f2a1145c80216071315987c Mon Sep 17 00:00:00 2001 From: scawful Date: Fri, 26 Sep 2025 09:32:42 -0400 Subject: [PATCH] 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 header inclusion in bps.cc to support string manipulation functionalities. --- .github/workflows/ci.yml | 8 +++----- src/util/bps.cc | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b761661..607a8cb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: | diff --git a/src/util/bps.cc b/src/util/bps.cc index 80e2fd93..d4c51d3a 100644 --- a/src/util/bps.cc +++ b/src/util/bps.cc @@ -7,6 +7,7 @@ #include #include #include +#include namespace yaze { namespace util {