Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd5dbc6494 | ||
|
|
c58bb6cd2c | ||
|
|
f4c4fb21c0 |
@@ -50,7 +50,8 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: ctest --test-dir build
|
run: ctest --test-dir build
|
||||||
- name: Run engine tests
|
- name: Run engine tests
|
||||||
timeout-minutes: 1
|
timeout-minutes: 3
|
||||||
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
chmod +x build/VoxelEngine
|
chmod +x build/VoxelEngine
|
||||||
chmod +x AppDir/usr/bin/vctest
|
chmod +x AppDir/usr/bin/vctest
|
||||||
|
|||||||
@@ -43,7 +43,8 @@ jobs:
|
|||||||
run: ctest --output-on-failure --test-dir build
|
run: ctest --output-on-failure --test-dir build
|
||||||
|
|
||||||
- name: Run engine tests
|
- name: Run engine tests
|
||||||
timeout-minutes: 1
|
timeout-minutes: 3
|
||||||
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
chmod +x build/VoxelEngine
|
chmod +x build/VoxelEngine
|
||||||
chmod +x AppDir/usr/bin/vctest
|
chmod +x AppDir/usr/bin/vctest
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
# Documentation
|
# Documentation
|
||||||
|
|
||||||
Documentation for 0.31.1.
|
Documentation for 0.31.12.
|
||||||
|
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> Version is in development. Proceed to [Documentation for 0.30.](https://github.com/MihailRis/voxelcore/blob/release-0.30/doc/en/main-page.md)
|
> Version is in development. Proceed to [Documentation for 0.30.](https://github.com/MihailRis/voxelcore/blob/release-0.30/doc/en/main-page.md)
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
# Документация
|
# Документация
|
||||||
|
|
||||||
Документация версии 0.31.1.
|
Документация версии 0.31.12.
|
||||||
|
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> Версия находится в разработке. Перейдите к [документации для 0.30.](https://github.com/MihailRis/voxelcore/blob/release-0.30/doc/ru/main-page.md)
|
> Версия находится в разработке. Перейдите к [документации для 0.30.](https://github.com/MihailRis/voxelcore/blob/release-0.30/doc/ru/main-page.md)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"id": "base",
|
"id": "base",
|
||||||
"title": "Base",
|
"title": "Base",
|
||||||
"version": "0.31.1",
|
"version": "0.31.12",
|
||||||
"description": "basic content package"
|
"description": "basic content package"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ inline constexpr bool ENGINE_DEBUG_BUILD = false;
|
|||||||
inline constexpr bool ENGINE_DEBUG_BUILD = true;
|
inline constexpr bool ENGINE_DEBUG_BUILD = true;
|
||||||
#endif // NDEBUG
|
#endif // NDEBUG
|
||||||
|
|
||||||
inline const std::string ENGINE_VERSION_STRING = "0.31.1";
|
inline const std::string ENGINE_VERSION_STRING = "0.31.12";
|
||||||
|
|
||||||
/// @brief world regions format version
|
/// @brief world regions format version
|
||||||
inline constexpr uint REGION_FORMAT_VERSION = 3;
|
inline constexpr uint REGION_FORMAT_VERSION = 3;
|
||||||
|
|||||||
+12
-2
@@ -11,9 +11,19 @@ namespace fs = std::filesystem;
|
|||||||
|
|
||||||
TEST(YAML, EncodeDecode) {
|
TEST(YAML, EncodeDecode) {
|
||||||
io::set_device("root", std::make_shared<io::StdfsDevice>(fs::u8path("../../")));
|
io::set_device("root", std::make_shared<io::StdfsDevice>(fs::u8path("../../")));
|
||||||
auto filename = "root:.github/workflows/windows-clang.yml";
|
auto filename = "root:res/project.toml";
|
||||||
try {
|
try {
|
||||||
auto value = yaml::parse(io::read_string(filename));
|
// Test basic YAML parsing with a simple inline string
|
||||||
|
auto value = yaml::parse(R"(
|
||||||
|
name: test
|
||||||
|
version: 1.0
|
||||||
|
settings:
|
||||||
|
debug: true
|
||||||
|
values:
|
||||||
|
- one
|
||||||
|
- two
|
||||||
|
- three
|
||||||
|
)");
|
||||||
std::cout << yaml::stringify(value) << std::endl;
|
std::cout << yaml::stringify(value) << std::endl;
|
||||||
} catch (const parsing_error& error) {
|
} catch (const parsing_error& error) {
|
||||||
std::cerr << error.errorLog() << std::endl;
|
std::cerr << error.errorLog() << std::endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user