diff --git a/.appveyor.yml b/.appveyor.yml index 9ed9ab60..8a3c3d11 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -38,7 +38,7 @@ environment: ARCH: x64_arm64 TEST_TARGET: check-deps -clone_depth: 50 +clone_depth: 1 build_script: - cmd: if [%TARGET%]==[cmake] ( diff --git a/.github/workflows/cmake-build.yml b/.github/workflows/cmake-build.yml index ea33043a..d6354cd1 100644 --- a/.github/workflows/cmake-build.yml +++ b/.github/workflows/cmake-build.yml @@ -14,19 +14,19 @@ jobs: fail-fast: false matrix: - os: [ macos-15-intel, macos-latest, ubuntu-24.04-arm, ubuntu-latest, windows-11-arm, windows-latest ] + os: [ macos-26-intel, macos-latest, ubuntu-24.04-arm, ubuntu-latest, windows-11-arm, windows-latest ] c_compiler: [ cl, clang, gcc ] - build_type: [ Release, Debug, MinSizeRel ] + build_type: [ Release, Debug ] shared_libs: [ off, on ] assertions: [ off, on ] atomic_intrinsics: [ on, off ] exclude: - c_compiler: gcc - os: macos-15-intel + os: macos-26-intel - c_compiler: gcc os: macos-latest - c_compiler: cl - os: macos-15-intel + os: macos-26-intel - c_compiler: cl os: macos-latest - c_compiler: cl @@ -38,8 +38,6 @@ jobs: build_type: Debug - assertions: on build_type: Release - - build_type: MinSizeRel - shared_libs: off include: - os: windows-11-arm c_compiler: clang @@ -93,7 +91,7 @@ jobs: ${{ matrix.disable_docs_opt }} ${{ matrix.disable_gpl_opt }} ${{ matrix.no_install_headers }} - -Werror=dev + -Werror=author -S ${{ github.workspace }} - name: Build diff --git a/.travis.yml b/.travis.yml index 9ac6593b..8d1c1bc3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -72,6 +72,7 @@ jobs: dist: focal env: - CFLAGS_EXTRA="-fsanitize=address -fno-omit-frame-pointer" + - CONF_OPTIONS="--disable-atomic-intrinsics" - TESTS_CUSTOM_RUN=true - addons: apt: @@ -86,42 +87,7 @@ jobs: - arch: arm64 compiler: gcc env: - - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release" - - arch: ppc64le - compiler: clang - - arch: ppc64le - compiler: gcc - - arch: ppc64le - compiler: clang - env: - - CFLAGS_EXTRA="-O3" - - CONF_OPTIONS="--enable-assertions --disable-atomic-intrinsics" - - TESTS_CUSTOM_RUN=true - - arch: ppc64le - compiler: gcc - env: - - CFLAGS_EXTRA="-O3" - - CONF_OPTIONS="--disable-atomic-intrinsics" - - TESTS_CUSTOM_RUN=true - - arch: ppc64le - compiler: clang - env: - - CFLAGS_EXTRA="-O3" - - CONF_OPTIONS="--enable-assertions --enable-shared" - - TESTS_CUSTOM_RUN=true - - arch: ppc64le - compiler: gcc - env: - - CFLAGS_EXTRA="-O3 -D NO_TIMES" - - TESTS_CUSTOM_RUN=true - - arch: ppc64le - compiler: clang - env: - - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Debug -DAO_BUILD_SHARED_LIBS=ON -Denable_assertions=ON -Denable_docs=OFF" - - arch: ppc64le - compiler: gcc - env: - - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=MinSizeRel -Denable_assertions=ON -Denable_atomic_intrinsics=OFF" + - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release -Denable_docs=OFF" - arch: s390x compiler: clang - arch: s390x @@ -146,10 +112,10 @@ jobs: - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Debug -Denable_atomic_intrinsics=OFF" - compiler: gcc env: - - CMAKE_OPTIONS="-DAO_BUILD_SHARED_LIBS=ON -Dinstall_headers=OFF" + - CMAKE_OPTIONS="-DAO_BUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=MinSizeRel -Dinstall_headers=OFF" - compiler: clang env: - - CFLAGS_EXTRA="-O3 -march=native -funsigned-char" + - CFLAGS_EXTRA="-O3 -march=native -funsigned-char -D NO_TIMES" - CONF_OPTIONS="--enable-assertions" - compiler: gcc env: @@ -514,10 +480,10 @@ jobs: - NOLIBC_DELIM=_ - env: - MAKEFILE_TARGET=distcheck - - AUTOCONF_VER=2.72 - - AUTOMAKE_VER=1.18.1 - - LIBTOOL_VER=2.5.4 - - M4_VER=1.4.20 + - AUTOCONF_VER=2.73 + - AUTOMAKE_VER=1.19 + - LIBTOOL_VER=2.6.2 + - M4_VER=1.4.21 - if: type != pull_request addons: coverity_scan: @@ -603,7 +569,7 @@ script: LDFLAGS="$LDFLAGS"; fi - if [[ "$CMAKE_OPTIONS" != "" ]]; then - cmake $CMAKE_OPTIONS -Denable_werror=ON -Werror=dev . && + cmake $CMAKE_OPTIONS -Denable_werror=ON -Werror=author . && cmake --build . $CMAKE_BUILD_OPTIONS --parallel; fi - if [[ "$CMAKE_OPTIONS" != "" ]]; then