mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
update vec3 test & update macos workflow
This commit is contained in:
parent
ade694c434
commit
7a5fe3b2b0
2 changed files with 2 additions and 2 deletions
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
run: ./dev/fix_dylibs.sh VoxelEngine Release build
|
run: ./dev/fix_dylibs.sh VoxelEngine Release build
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: ctest --test-dir build
|
run: ctest --output-on-failure --test-dir build
|
||||||
|
|
||||||
- name: Create DMG
|
- name: Create DMG
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
TEST(VEC3, Decode) {
|
TEST(VEC3, Decode) {
|
||||||
auto file = std::filesystem::u8path(
|
auto file = std::filesystem::u8path(
|
||||||
"../res/content/base/models/block.vec3"
|
"../res/models/block.vec3"
|
||||||
);
|
);
|
||||||
auto bytes = files::read_bytes_buffer(file);
|
auto bytes = files::read_bytes_buffer(file);
|
||||||
auto model = vec3::load(file.u8string(), bytes);
|
auto model = vec3::load(file.u8string(), bytes);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue