diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f9d128b7..f6fb3ec7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -392,7 +392,8 @@ jobs: esac echo CSTD="$CSTD" >> $GITHUB_ENV fi - if test -n "$CPPSTD"; then CONFIGOPTS+=(--enable-cpp11-testing "CXXFLAGS=-std=$CPPSTD $CXXFLAGS"); fi + if test -z "$CPPSTD"; then CONFIGOPTS+=("--disable-cpp11-testing"); fi + if test -n "$CPPSTD"; then CONFIGOPTS+=("CXXFLAGS=-std=$CPPSTD $CXXFLAGS"); fi if test -n "$CSTD"; then CONFIGOPTS+=("CFLAGS=-std=$CSTD $CFLAGS"); fi if test -n "$SWIGLANG"; then CONFIGOPTS+=(--without-alllang --with-$WITHLANG); fi echo "${CONFIGOPTS[@]}" diff --git a/CHANGES.current b/CHANGES.current index 690a12938..b406611dc 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -7,6 +7,18 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/ Version 4.1.0 (in progress) =========================== +2022-04-06: wsfulton + ./configure now enables C++11 and later C++ standards testing by default (when + running: 'make check'). + + The options to control this testing are the same: + + ./configure --enable-cpp11-testing + ./configure --disable-cpp11-testing + + But the former is now the default and the latter can be used to turn off C++11 and + later C++ standards testing. + 2022-04-06: wsfulton [Python] #1635 The "autodoc" feature no longer overrides Doxygen comments in the generated docstring. diff --git a/appveyor.yml b/appveyor.yml index 314cd3333..3a25ed199 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,4 @@ platform: -- x86 - x64 skip_commits: @@ -18,8 +17,6 @@ environment: VSVER: 12 - SWIGLANG: csharp VSVER: 14 - - SWIGLANG: java - VSVER: 14 - SWIGLANG: python VSVER: 14 VER: 27 @@ -34,10 +31,29 @@ environment: VSVER: 16 VER: 39 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + - SWIGLANG: csharp + VSVER: 17 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + - SWIGLANG: csharp + VSVER: 17 + Platform: x86 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + - SWIGLANG: java + VSVER: 17 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + - SWIGLANG: java + VSVER: 17 + Platform: x86 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 - SWIGLANG: python VSVER: 17 VER: 310 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + - SWIGLANG: python + VSVER: 17 + VER: 310 + Platform: x86 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 - SWIGLANG: python OSVARIANT: cygwin APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 @@ -160,8 +176,8 @@ build_script: - if "%BUILDSYSTEM%"=="cmake" cmake --version && cmake -G "Visual Studio 14 2015%VSARCH%" -DCMAKE_INSTALL_PREFIX="%CD:\=/%/install2" -DCMAKE_C_FLAGS="/WX /DPCRE2_STATIC" -DCMAKE_CXX_FLAGS="/WX /DPCRE2_STATIC" -DPCRE2_INCLUDE_DIR=%PCRE_ROOT%/include -DPCRE2_LIBRARY=%PCRE_ROOT%/lib/pcre2-8-static.lib -DBISON_EXECUTABLE=C:/cygwin/bin/bison.exe . && cmake --build . --config Release --target install && ctest --output-on-failure -V -C Release && appveyor exit - if "%OSVARIANT%"=="" bash -c "exec 0