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