From 88f965ad11ffc39cd36c9ce4a2f154d7741c1836 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Mon, 12 Aug 2024 03:44:19 +0300 Subject: [PATCH] update macos.yml --- .github/workflows/macos.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index a477d3c0..2faf93ab 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -17,7 +17,7 @@ jobs: - name: Install dependencies from brew run: | - brew install glfw3 glew libpng openal-soft luajit libvorbis skypjack/entt/entt + brew install glfw3 glew libpng openal-soft luajit libvorbis skypjack/entt/entt googletest - name: Install specific version of GLM run: | @@ -25,7 +25,7 @@ jobs: brew install --formula glm.rb - name: Configure - run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_APPDIR=1 + run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_TESTS -DVOXELENGINE_BUILD_APPDIR=1 - name: Build run: cmake --build build -t install @@ -36,6 +36,9 @@ jobs: - name: Fix dylibs run: ./dev/fix_dylibs.sh VoxelEngine Release build + - name: Run tests + run: ctest --test-dir build + - name: Create DMG run: | mkdir VoxelEngineDmgContent