update vec3 test & update macos workflow
This commit is contained in:
parent
ade694c434
commit
7a5fe3b2b0
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…
x
Reference in New Issue
Block a user