Przeglądaj źródła

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..
pull/678/head
Ahmad Fatoum 7 lat temu
rodzic
commit
285de106d4
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: C3EAC3DE9321D59B
1 zmienionych plików z 5 dodań i 1 usunięć
  1. +5
    -1
      .travis.yml

+ 5
- 1
.travis.yml Wyświetl plik

@ -132,7 +132,11 @@ script:
..
- $RUNNER cmake --build . --target
- 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
pkg-config --static --libs raylib;
nm -g release/libraylib.a | grep glfwGetProcAddress || (echo "libraylib.a doesn't contain GLFW symbols! Aborting..." && false);

Ładowanie…
Anuluj
Zapisz