mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-15 06:48:40 +00:00
Travis CI: emscripten: properly fix failing CMake install stage
The .travis.yml is getting increasingly ugly. We should maybe consider creating separate shell scripts for each target..
This commit is contained in:
@@ -132,7 +132,11 @@ script:
|
|||||||
..
|
..
|
||||||
- $RUNNER cmake --build . --target
|
- $RUNNER cmake --build . --target
|
||||||
- if [ "$RELEASE" != "NO" ]; then $RUNNER cmake --build . --target package; fi
|
- if [ "$RELEASE" != "NO" ]; then $RUNNER cmake --build . --target package; fi
|
||||||
- $(which sudo) $RUNNER "$(which cmake)" --build . --target install
|
- if [ -n "$RUNNER" ]; then
|
||||||
|
sudo $RUNNER cmake --build . --target install;
|
||||||
|
else
|
||||||
|
$(which sudo) $RUNNER "$(which cmake)" --build . --target install;
|
||||||
|
fi
|
||||||
- if [ ! "$DONT_TEST" ]; then
|
- if [ ! "$DONT_TEST" ]; then
|
||||||
pkg-config --static --libs raylib;
|
pkg-config --static --libs raylib;
|
||||||
nm -g release/libraylib.a | grep glfwGetProcAddress || (echo "libraylib.a doesn't contain GLFW symbols! Aborting..." && false);
|
nm -g release/libraylib.a | grep glfwGetProcAddress || (echo "libraylib.a doesn't contain GLFW symbols! Aborting..." && false);
|
||||||
|
|||||||
Reference in New Issue
Block a user