WEBP: Added save feature #257
Merged
Travis CI / Travis CI - Branch
succeeded
Oct 10, 2025 in 7m 7s
Build Passed
The build passed, just like the previous build.
Details
This is a normal build for the feature/save-webp branch. You should be able to reproduce it by checking out the branch locally.
Jobs and Stages
This build has two jobs, running in parallel.
| Job | ENV | OS | State |
|---|---|---|---|
| PATH="/c/SAIL/bin:$PATH" | windows | passed | |
| Linux | passed |
Build Configuration
| Build Option | Setting |
|---|---|
| Language | C++ |
| Operating System | Linux (Focal) |
Build Configuration
{
"language": "cpp",
"os": [
"linux"
],
"dist": "focal",
"notifications": {
"email": [
{
"enabled": false
}
]
},
"addons": {
"apt": {
"packages": [
"libavif-dev",
"libgif-dev",
"libjpeg-dev",
"libjxl-dev",
"libnanosvg-dev",
"libopenjp2-7-dev",
"libpng-dev",
"libsdl2-dev",
"libtiff-dev",
"libwebp-dev"
],
"update": true
}
},
"jobs": {
"include": [
{
"os": "windows",
"name": "Windows Server",
"env": [
{
"PATH": "\"/c/SAIL/bin:$PATH\""
}
],
"cache": {
"directories": [
"extra/B"
]
}
},
{
"os": "linux",
"dist": "noble",
"name": "Ubuntu 24.04 Noble"
}
]
},
"before_script": [
"fail_on_error()\n{\n if [ $# -eq 0 ]; then\n echo \"Error: No arguments given for fail_on_error()\" >&2\n exit 1\n fi\n\n set -e\n \"$@\"\n set +e\n}\n\ncase \"$TRAVIS_OS_NAME\" in\n windows)\n # Build non-existing extra libs\n if [ -d extra/B/bin ]; then\n extra_bin_time=$(stat -c %Y extra/B/bin)\n build_script_time=$(git log --pretty=format:%cd -n 1 --date=unix --date-order -- extra/build)\n\n if [ $build_script_time -gt $extra_bin_time ]; then\n fail_on_error extra/build\n fi\n else\n fail_on_error extra/build\n fi\n\n fail_on_error git apply .travis/disable-jpeg-test-files.patch\n ;;\n linux)\n # Workaround ASAN bug in Jammy\n # See https://github.com/google/sanitizers/issues/1614\n sudo sysctl vm.mmap_rnd_bits=28\n ;;\nesac"
],
"script": [
"fail_on_error()\n{\n if [ $# -eq 0 ]; then\n echo \"Error: No arguments given for fail_on_error()\" >&2\n exit 1\n fi\n\n set -e\n \"$@\"\n set +e\n}\n\ntest_external_windows()\n{\n local project_path=\"$1\"\n local sail_cmake_path=\"$2\"\n local build_type=\"$3\"\n local old_dir=\"$PWD\"\n\n echo\n echo \"External Windows Test '$project_path' '$build_type'\"\n echo\n\n cd \"$TRAVIS_BUILD_DIR\"\n\n cd \"$project_path\"\n rm -rf build\n mkdir build\n cd build\n\n fail_on_error cmake -A x64 -DSAIL_DEV=ON -DCMAKE_PREFIX_PATH=\"$sail_cmake_path\" ..\n fail_on_error cmake --build . --config $build_type\n\n cd \"$old_dir\"\n}\n\ntest_external_unix()\n{\n local project_path=\"$1\"\n local build_type=\"$2\"\n local exe=\"$3\"\n local old_dir=\"$PWD\"\n\n echo\n echo \"External Unix Test '$project_path' '$build_type'\"\n echo\n\n cd \"$TRAVIS_BUILD_DIR\"\n\n cd \"$project_path\"\n rm -rf build\n mkdir build\n cd build\n\n fail_on_error cmake -DSAIL_DEV=ON -DCMAKE_BUILD_TYPE=\"$build_type\" ..\n fail_on_error cmake --build .\n fail_on_error \"$exe\"\n\n cd \"$old_dir\"\n}\n\nbuild()\n{\n echo\n echo \" *** Building with $@ ***\"\n echo\n\n local cmake_parallel_options=\"--parallel 2\"\n\n eval $@\n\n cd \"$TRAVIS_BUILD_DIR\"\n\n rm -rf build\n mkdir build\n cd build\n\n case \"$TRAVIS_OS_NAME\" in\n windows)\n CMAKE_INSTALL_PREFIX=\"C:/SAIL\"\n\n fail_on_error cmake -A x64 -DBUILD_SHARED_LIBS=\"$BUILD_SHARED_LIBS\" -DCMAKE_INSTALL_PREFIX=\"$CMAKE_INSTALL_PREFIX\" \\\n -DSAIL_DEV=ON -DSAIL_COMBINE_CODECS=\"$SAIL_COMBINE_CODECS\" ..\n fail_on_error cmake --build . --config $CMAKE_BUILD_TYPE $cmake_parallel_options --target install\n\n cd tests\n fail_on_error ctest -C $CMAKE_BUILD_TYPE --output-on-failure\n\n fail_on_error \"$CMAKE_INSTALL_PREFIX/bin/sail\" --version\n\n test_external_windows \"tests/external/link/c\" \"$CMAKE_INSTALL_PREFIX/lib/cmake\" \"$CMAKE_BUILD_TYPE\"\n test_external_windows \"tests/external/link/c++\" \"$CMAKE_INSTALL_PREFIX/lib/cmake\" \"$CMAKE_BUILD_TYPE\"\n\n rm -rf \"$CMAKE_INSTALL_PREFIX\"\n ;;\n linux)\n CMAKE_INSTALL_PREFIX=\"/usr/local\"\n\n fail_on_error cmake -DCMAKE_BUILD_TYPE=\"$CMAKE_BUILD_TYPE\" -DCMAKE_INSTALL_PREFIX=\"$CMAKE_INSTALL_PREFIX\" \\\n -DBUILD_SHARED_LIBS=\"$BUILD_SHARED_LIBS\" -DSAIL_DEV=ON -DSAIL_COMBINE_CODECS=\"$SAIL_COMBINE_CODECS\" ..\n fail_on_error cmake --build . $cmake_parallel_options\n fail_on_error sudo make install\n\n if [ \"$TRAVIS_OS_NAME\" = \"linux\" ]; then\n fail_on_error sudo ldconfig\n fi\n\n cd tests\n fail_on_error ctest --output-on-failure\n cd -\n\n fail_on_error \"$CMAKE_INSTALL_PREFIX/bin/sail\" --version\n\n test_external_unix \"tests/external/link/c\" \"$CMAKE_BUILD_TYPE\" \"./external-c-api-link\"\n test_external_unix \"tests/external/link/c++\" \"$CMAKE_BUILD_TYPE\" \"./external-c++-api-link\"\n\n xargs sudo rm -v < install_manifest.txt\n ;;\n esac\n}\n\n# DEBUG, SHARED\nbuild CMAKE_BUILD_TYPE=Debug BUILD_SHARED_LIBS=ON\n# DEBUG, SHARED, COMBINED\nbuild CMAKE_BUILD_TYPE=Debug BUILD_SHARED_LIBS=ON SAIL_COMBINE_CODECS=ON\n# DEBUG, STATIC\nif [ \"$TRAVIS_OS_NAME\" != \"windows\" ]; then\n build CMAKE_BUILD_TYPE=Debug BUILD_SHARED_LIBS=OFF\nfi"
]
}
Loading