CMake+Android: Skip tests with SetCameraMode

src/core.c does explicitly skip including <camera.h> on Android
and tests fail. Therefore skip these failing tests.

Closes #507.
This commit is contained in:
Ahmad Fatoum
2018-05-21 00:58:49 +02:00
parent ad8509732c
commit bd2300fed3
2 changed files with 26 additions and 1 deletions

View File

@ -86,7 +86,9 @@ script:
- if [ "$GLFW" != "SYSTEM" ]; then make package; fi;
- sudo make install
- pkg-config --static --libs raylib
- nm -g release/libraylib.a | grep glfwGetProcAddress || (echo "libraylib.a doesn't contain GLFW symbols! Aborting..." && false)
- if [[ "$ARCH" != *-android ]]; then
nm -g release/libraylib.a | grep glfwGetProcAddress || (echo "libraylib.a doesn't contain GLFW symbols! Aborting..." && false);
fi
deploy:
provider: releases