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:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -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: |
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <vector>
|
||||
#include <stdexcept>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
|
||||
namespace yaze {
|
||||
namespace util {
|
||||
|
||||
Reference in New Issue
Block a user