diff options
| author | Ahmad Fatoum <[email protected]> | 2019-05-04 22:34:08 +0200 |
|---|---|---|
| committer | Ahmad Fatoum <[email protected]> | 2019-05-04 23:04:52 +0200 |
| commit | 7d57a64337df4c88a81e854e35d4c29e7c5e7b24 (patch) | |
| tree | 4e3a640d225474e22c9fbc64812661742fe4ea11 | |
| parent | 36d8a648f0cbc9bff9893b4e7612846097e76397 (diff) | |
| download | raylib-7d57a64337df4c88a81e854e35d4c29e7c5e7b24.tar.gz raylib-7d57a64337df4c88a81e854e35d4c29e7c5e7b24.zip | |
Travis CI: build, don't download, external GLFW
CI is failing because we still test with GLFW 3.2, while
the internal GLFW is 3.3. To avoid such breakages in future,
build and install our own GLFW instead of relying on an external
Debian package.
| -rw-r--r-- | .travis.yml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index e61ae1e2..54cc8bf9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -93,9 +93,16 @@ before_install: export RAYLIB_PACKAGE_SUFFIX="-Linux-$ARCH"; if [ "$INSTALL_GLFW" == "YES" ]; then - wget 'http://ftp.de.debian.org/debian/pool/main/g/glfw3/libglfw3_3.2.1-1_amd64.deb'; - wget 'http://ftp.de.debian.org/debian/pool/main/g/glfw3/libglfw3-dev_3.2.1-1_amd64.deb'; - sudo dpkg -i libglfw3_3.2.1-1_amd64.deb libglfw3-dev_3.2.1-1_amd64.deb; + pushd src/external/glfw; + cmake . -DGLFW_BUILD_DOCS=OFF + -DGLFW_BUILD_TESTS=OFF + -DGLFW_BUILD_EXAMPLES=OFF + -DGLFW_INSTALL=ON + -DBUILD_SHARED_LIBS=ON + -DGLFW_USE_WAYLAND=$WAYLAND; + make; + sudo make install; + popd; fi; fi; fi |
