Skip to content

Add string comparison and conversion utility functions #569

Add string comparison and conversion utility functions

Add string comparison and conversion utility functions #569

Triggered via pull request July 5, 2024 21:21
Status Failure
Total duration 7m 4s
Artifacts 1

build.yaml

on: pull_request
Matrix: build
release
0s
release
Matrix: publish
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
Ubuntu Latest GCC
FAILED: CMakeFiles/SurrealCommon.dir/SurrealEngine/Utils/StrCompare.cpp.o ccache /usr/bin/g++ -DUNIX -DUSE_SDL2 -D_UNIX -I/home/runner/work/SurrealEngine/SurrealEngine/SurrealEngine -I/home/runner/work/SurrealEngine/SurrealEngine/Thirdparty -I/home/runner/work/SurrealEngine/SurrealEngine/Thirdparty/ZVulkan/include -I/home/runner/work/SurrealEngine/SurrealEngine/Thirdparty/ZWidget/include -I/home/runner/work/SurrealEngine/SurrealEngine/Thirdparty/dumb/include -I/home/runner/work/SurrealEngine/SurrealEngine/Thirdparty/openal-soft/include -I/home/runner/work/SurrealEngine/SurrealEngine/Thirdparty/miniz -I/usr/include/SDL2 -O3 -DNDEBUG -std=gnu++17 -Winvalid-pch -include /home/runner/work/SurrealEngine/SurrealEngine/build/CMakeFiles/SurrealCommon.dir/cmake_pch.hxx -MD -MT CMakeFiles/SurrealCommon.dir/SurrealEngine/Utils/StrCompare.cpp.o -MF CMakeFiles/SurrealCommon.dir/SurrealEngine/Utils/StrCompare.cpp.o.d -o CMakeFiles/SurrealCommon.dir/SurrealEngine/Utils/StrCompare.cpp.o -c /home/runner/work/SurrealEngine/SurrealEngine/SurrealEngine/Utils/StrCompare.cpp /home/runner/work/SurrealEngine/SurrealEngine/SurrealEngine/Utils/StrCompare.cpp: In static member function ‘static int StrCompare::ignore_case(const string&, const string&)’: /home/runner/work/SurrealEngine/SurrealEngine/SurrealEngine/Utils/StrCompare.cpp:8:16: error: ‘strcasecmp’ was not declared in this scope; did you mean ‘wcscasecmp’? 8 | return strcasecmp(str1.c_str(), str2.c_str()); | ^~~~~~~~~~ | wcscasecmp /home/runner/work/SurrealEngine/SurrealEngine/SurrealEngine/Utils/StrCompare.cpp: In static member function ‘static int StrCompare::ignore_case(const string&, const char*)’: /home/runner/work/SurrealEngine/SurrealEngine/SurrealEngine/Utils/StrCompare.cpp:17:16: error: ‘strcasecmp’ was not declared in this scope; did you mean ‘wcscasecmp’? 17 | return strcasecmp(str1.c_str(), str2); | ^~~~~~~~~~ | wcscasecmp [191/340 35.3/sec] Building CXX object CMakeFiles/SurrealCommon.dir/SurrealEngine/Utils/Logger.cpp.o [192/340 31.2/sec] Building CXX object CMakeFiles/SurrealCommon.dir/SurrealEngine/Utils/JsonValue.cpp.o [193/340 29.4/sec] Building CXX object CMakeFiles/SurrealCommon.dir/SurrealEngine/Engine.cpp.o [194/340 18.9/sec] Linking CXX static library Thirdparty/ZWidget/libzwidget.a [195/340 18.9/sec] Linking CXX static library Thirdparty/ZVulkan/libzvulkan.a ninja: build stopped: subcommand failed.
Ubuntu Latest GCC
Process completed with exit code 1.
Ubuntu Latest GCC
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Windows Latest MSVC
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Windows.tar.xz". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
Windows.tar.xz Expired
2.23 MB