update macos.yml

This commit is contained in:
MihailRis 2024-08-12 03:44:19 +03:00
parent e48452cb1a
commit 88f965ad11

View File

@ -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