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
|
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: |
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user