Try to fix unit tests

This commit is contained in:
Jérôme Leclercq 2022-02-18 19:57:41 +01:00
parent 6290e91a88
commit 42c80143eb
2 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,7 @@ jobs:
# Install Nazara dependencies
- name: Install system dependencies
run: |
sudo apt-get install libsndfile1-dev libfreetype6-dev libsdl2-dev mesa-common-dev libxcb-ewmh-dev libxcb-randr0-dev libxcb-icccm4-dev libxcb-keysyms1-dev libglx-mesa0 mesa-vulkan-drivers git gcovr -y
sudo apt-get install libsndfile1-dev libfreetype6-dev libsdl2-dev mesa-common-dev libxcb-ewmh-dev libxcb-randr0-dev libxcb-icccm4-dev libxcb-keysyms1-dev libglx-mesa0 mesa-vulkan-drivers pulseaudio git gcovr -y
# Force xmake to a specific folder (for cache)
- name: Set xmake env

View File

@ -8,11 +8,12 @@
#include <Nazara/Network/Network.hpp>
#include <Nazara/Physics2D/Physics2D.hpp>
#include <Nazara/Shader/Shader.hpp>
#include <Nazara/Utility/Utility.hpp>
#include <glslang/Public/ShaderLang.h>
int main(int argc, char* argv[])
{
Nz::Modules<Nz::Audio, Nz::Network, Nz::Physics2D, Nz::Shader> nazaza;
Nz::Modules<Nz::Audio, Nz::Network, Nz::Physics2D, Nz::Shader, Nz::Utility> nazaza;
if (!glslang::InitializeProcess())
return EXIT_FAILURE;