mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00

Update the Travis CI matrix: * Run ASan and UBSan unconditionally on FreeBSD and Linux, and not at all on Mac. * Remove the `CI_NO_TEST=1` runs from the environment column. Update the AppVeyor CI matrix: * Replace `CI_NO_TEST=1` with `CI_CMAKE_VARS=-DPNG_TESTS=0` when testing Visual Studio on ARM64. Also apply minor stylistic changes.
34 lines
932 B
YAML
34 lines
932 B
YAML
branches:
|
|
except:
|
|
- /libpng[0-1][0-7]/
|
|
|
|
language: c
|
|
|
|
os:
|
|
- freebsd
|
|
- linux
|
|
- osx
|
|
|
|
env:
|
|
- AUTOMATION=cmake CI_CMAKE_VARS="-DPNG_HARDWARE_OPTIMIZATIONS=ON"
|
|
- AUTOMATION=cmake CI_CMAKE_VARS="-DPNG_HARDWARE_OPTIMIZATIONS=OFF"
|
|
- AUTOMATION=configure CI_CONFIGURE_FLAGS="--enable-hardware-optimizations"
|
|
- AUTOMATION=configure CI_CONFIGURE_FLAGS="--disable-hardware-optimizations"
|
|
- AUTOMATION=makefiles
|
|
|
|
matrix:
|
|
include:
|
|
- os: osx
|
|
env: AUTOMATION=cmake CI_CMAKE_GENERATOR=Xcode
|
|
|
|
before_script:
|
|
- 'if test "$TRAVIS_OS_NAME" = "linux"; then export CI_CC="gcc"; else export CI_CC="clang"; fi'
|
|
- 'if test "$TRAVIS_OS_NAME" != "osx"; then export CI_SANITIZERS="address,undefined"; fi'
|
|
- 'export CI_MAKEFILES="scripts/makefile.$CI_CC scripts/makefile.std"'
|
|
- 'export CI_MAKE_FLAGS=-j2'
|
|
- 'export CI_CMAKE_BUILD_FLAGS=-j2'
|
|
- 'export CI_CTEST_FLAGS=-j2'
|
|
|
|
script:
|
|
- './ci/ci_verify_$AUTOMATION.sh'
|