Skip to content

Commit

Permalink
package/ci: Enable WITH_BASISIMPORTER on appveyor and travis
Browse files Browse the repository at this point in the history
Signed-off-by: Squareys <[email protected]>
  • Loading branch information
Squareys committed Aug 31, 2019
1 parent 40ec5b7 commit 4b29cc2
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions package/ci/appveyor-desktop-mingw.bat
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ cmake .. ^
-DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%/deps ^
-DCMAKE_PREFIX_PATH=%APPVEYOR_BUILD_FOLDER%/openal;%APPVEYOR_BUILD_FOLDER%/devil ^
-DWITH_ASSIMPIMPORTER=OFF ^
-DWITH_BASISIMPORTER=ON -DBASISU_DIR=%APPVEYOR_BUILD_FOLDER%/basis_universal ^
-DWITH_DDSIMPORTER=ON ^
-DWITH_DEVILIMAGEIMPORTER=ON ^
-DWITH_DRFLACAUDIOIMPORTER=ON ^
Expand Down
1 change: 1 addition & 0 deletions package/ci/appveyor-desktop.bat
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ cmake .. ^
-DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%/deps ^
-DCMAKE_PREFIX_PATH=%APPVEYOR_BUILD_FOLDER%/openal;%APPVEYOR_BUILD_FOLDER%/devil;C:/Tools/vcpkg/installed/x64-windows ^
-DWITH_ASSIMPIMPORTER=OFF ^
-DWITH_BASISIMPORTER=ON -DBASISU_DIR=%APPVEYOR_BUILD_FOLDER%/basis_universal ^
-DWITH_DDSIMPORTER=ON ^
-DWITH_DEVILIMAGEIMPORTER=ON ^
-DWITH_DRFLACAUDIOIMPORTER=ON ^
Expand Down
1 change: 1 addition & 0 deletions package/ci/appveyor-rt.bat
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ cmake .. ^
-DCMAKE_SYSTEM_VERSION=10.0 ^
-DCMAKE_PREFIX_PATH=%APPVEYOR_BUILD_FOLDER%/deps ^
-DWITH_ASSIMPIMPORTER=OFF ^
-DWITH_BASISIMPORTER=ON -DBASISU_DIR=%APPVEYOR_BUILD_FOLDER%/basis_universal ^
-DWITH_DDSIMPORTER=ON ^
-DWITH_DEVILIMAGEIMPORTER=OFF ^
-DWITH_DRFLACAUDIOIMPORTER=OFF ^
Expand Down
6 changes: 6 additions & 0 deletions package/ci/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ install:
- IF NOT "%TARGET%" == "rt" IF NOT EXIST %APPVEYOR_BUILD_FOLDER%\DevIL-SDK-x64-1.7.8.zip appveyor DownloadFile http://downloads.sourceforge.net/openil/DevIL-SDK-x64-1.7.8.zip
- IF NOT "%TARGET%" == "rt" mkdir devil && cd devil && 7z x ..\DevIL-SDK-x64-1.7.8.zip && mkdir lib && move *.lib lib\ && cd ..

# Basis Universal
- set BASIS_VERSION=600232075851c2fa6bd23f7180434aca7814c93a
- IF NOT EXIST %APPVEYOR_BUILD_FOLDER%\basis_universal-%BASIS_VERSION%.zip appveyor DownloadFile https://github.com/BinomialLLC/basis_universal/archive/%BASIS_VERSION%.zip
- 7z x %BASIS_VERSION%.zip && ren basis_universal-%BASIS_VERSION% basis_universal

build_script:
- IF "%TARGET%" == "desktop" IF "%COMPILER%" == "msvc" call package\ci\appveyor-desktop.bat
- IF "%TARGET%" == "desktop" IF "%COMPILER%" == "mingw" call package\ci\appveyor-desktop-mingw.bat
Expand All @@ -52,3 +57,4 @@ cache:
- openal-soft-1.17.2-bin.zip -> package/ci/appveyor-cache-reset.txt
- libjpeg-turbo-1.5.0.tar.gz -> package/ci/appveyor-cache-reset.txt
- DevIL-SDK-x64-1.7.8.zip -> package/ci/appveyor-cache-reset.txt
- basis_universal-%BASIS_VERSION%.zip -> package/ci/appveyor-cache-reset.txt
1 change: 1 addition & 0 deletions package/ci/travis-android-arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ cmake .. \
-DCMAKE_PREFIX_PATH=$HOME/deps \
-DCMAKE_FIND_ROOT_PATH=$HOME/deps \
-DWITH_ASSIMPIMPORTER=OFF \
-DWITH_BASISIMPORTER=ON -DBASISU_DIR=$HOME/basis_universal \
-DWITH_DDSIMPORTER=ON \
-DWITH_DRFLACAUDIOIMPORTER=OFF \
-DWITH_DRMP3AUDIOIMPORTER=OFF \
Expand Down
1 change: 1 addition & 0 deletions package/ci/travis-desktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ cmake .. \
-DCMAKE_INSTALL_RPATH=$HOME/deps/lib \
-DCMAKE_BUILD_TYPE=Debug \
-DWITH_ASSIMPIMPORTER=ON \
-DWITH_BASISIMPORTER=ON -DBASISU_DIR=$HOME/basis_universal \
-DWITH_DDSIMPORTER=ON \
-DWITH_DEVILIMAGEIMPORTER=ON \
-DWITH_DRFLACAUDIOIMPORTER=ON \
Expand Down
1 change: 1 addition & 0 deletions package/ci/travis-emscripten.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ cmake .. \
-DCMAKE_INSTALL_PREFIX=$HOME/deps \
-DCMAKE_FIND_ROOT_PATH=$HOME/deps \
-DWITH_ASSIMPIMPORTER=OFF \
-DWITH_BASISIMPORTER=ON -DBASISU_DIR=$HOME/basis_universal \
-DWITH_DDSIMPORTER=ON \
-DWITH_DEVILIMAGEIMPORTER=OFF \
-DWITH_DRFLACAUDIOIMPORTER=ON \
Expand Down
1 change: 1 addition & 0 deletions package/ci/travis-ios-simulator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ cmake .. \
-DCORRADE_RC_EXECUTABLE=$HOME/deps-native/bin/corrade-rc \
-DCMAKE_INSTALL_PREFIX=$HOME/deps \
-DWITH_ASSIMPIMPORTER=OFF \
-DWITH_BASISIMPORTER=ON -DBASISU_DIR=$HOME/basis_universal \
-DWITH_DDSIMPORTER=ON \
-DWITH_DEVILIMAGEIMPORTER=OFF \
-DWITH_DRFLACAUDIOIMPORTER=ON \
Expand Down
3 changes: 3 additions & 0 deletions package/ci/travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ install:
# FAAD2, HarfBuzz, Assimp, DevIL
- if [ "$TRAVIS_OS_NAME" == "osx" ] && [ "$TARGET" == "desktop" ]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install faad2 harfbuzz assimp devil; fi

# Basis Universal
- export BASIS_VERSION=600232075851c2fa6bd23f7180434aca7814c93a && wget -nc https://github.com/BinomialLLC/basis_universal/archive/$BASIS_VERSION.zip && unzip -q $BASIS_VERSION; mv basis_universal-$BASIS_VERSION $HOME/basis_universal

script:
- if [ "$TRAVIS_OS_NAME" == "linux" ] && ( [ "$TARGET" == "desktop" ] || [ "$TARGET" == "desktop-sanitizers" ] ); then ./package/ci/travis-desktop.sh; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$TARGET" == "android" ]; then ./package/ci/travis-android-arm.sh; fi
Expand Down

0 comments on commit 4b29cc2

Please sign in to comment.