File tree Expand file tree Collapse file tree 5 files changed +20
-4
lines changed Expand file tree Collapse file tree 5 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -127,9 +127,11 @@ jobs:
127127 - name : Install PCRE
128128 if : steps.cache-pcre.outputs.cache-hit != 'true'
129129 run : |
130+ @echo on
130131 7z x pcre-%PCRE_VERSION%.zip || exit /b !errorlevel!
131132 cd pcre-%PCRE_VERSION% || exit /b !errorlevel!
132- cmake . -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DPCRE_BUILD_PCRECPP=Off -DPCRE_BUILD_TESTS=Off -DPCRE_BUILD_PCREGREP=Off || exit /b !errorlevel!
133+ git apply --ignore-space-change ..\externals\pcre.patch || exit /b !errorlevel!
134+ cmake . -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DPCRE_BUILD_PCRECPP=Off -DPCRE_BUILD_TESTS=Off -DPCRE_BUILD_PCREGREP=Off -DCMAKE_POLICY_VERSION_MINIMUM=3.5 || exit /b !errorlevel!
133135 nmake || exit /b !errorlevel!
134136 copy pcre.h ..\externals || exit /b !errorlevel!
135137 copy pcre.lib ..\externals\pcre64.lib || exit /b !errorlevel!
Original file line number Diff line number Diff line change 3838 run : |
3939 wget https://github.com/uncrustify/uncrustify/archive/refs/tags/uncrustify-0.72.0.tar.gz
4040 tar xzvf uncrustify-0.72.0.tar.gz && cd uncrustify-uncrustify-0.72.0
41- cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
41+ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_VERSION_MINIMUM=3.5
4242 cmake --build build -- -j$(nproc) -s
4343 mkdir ~/uncrustify
4444 cd build && cp uncrustify ~/uncrustify/
Original file line number Diff line number Diff line change 5454 - name : Install PCRE
5555 if : steps.cache-pcre.outputs.cache-hit != 'true'
5656 run : |
57+ @echo on
5758 7z x pcre-%PCRE_VERSION%.zip || exit /b !errorlevel!
5859 cd pcre-%PCRE_VERSION% || exit /b !errorlevel!
59- cmake . -G "Visual Studio 17 2022" -A x64 -DPCRE_BUILD_PCRECPP=OFF -DPCRE_BUILD_PCREGREP=OFF -DPCRE_BUILD_TESTS=OFF || exit /b !errorlevel!
60+ git apply --ignore-space-change ..\externals\pcre.patch || exit /b !errorlevel!
61+ cmake . -G "Visual Studio 17 2022" -A x64 -DPCRE_BUILD_PCRECPP=OFF -DPCRE_BUILD_PCREGREP=OFF -DPCRE_BUILD_TESTS=OFF -DCMAKE_POLICY_VERSION_MINIMUM=3.5 || exit /b !errorlevel!
6062 msbuild -m PCRE.sln -p:Configuration=Release -p:Platform=x64 || exit /b !errorlevel!
6163 copy pcre.h ..\externals || exit /b !errorlevel!
6264 copy Release\pcre.lib ..\externals\pcre64.lib || exit /b !errorlevel!
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ jobs:
160160
161161 - name : CMake (corpus / no test)
162162 run : |
163- cmake -S cppcheck-2.8 -B cmake.output.corpus -G "Unix Makefiles" -DHAVE_RULES=On -DBUILD_TESTS=Off -DBUILD_GUI=ON -DUSE_QT6=On -DWITH_QCHART=ON -DENABLE_CHECK_INTERNAL=On -DCMAKE_GLOBAL_AUTOGEN_TARGET=On
163+ cmake -S cppcheck-2.8 -B cmake.output.corpus -G "Unix Makefiles" -DHAVE_RULES=On -DBUILD_TESTS=Off -DBUILD_GUI=ON -DUSE_QT6=On -DWITH_QCHART=ON -DENABLE_CHECK_INTERNAL=On -DCMAKE_GLOBAL_AUTOGEN_TARGET=On -DCMAKE_POLICY_VERSION_MINIMUM=3.5
164164
165165 - name : Generate dependencies (corpus)
166166 run : |
Original file line number Diff line number Diff line change 1+ diff -urN pcre/CMakeLists.txt pcre-8.45/CMakeLists.txt
2+ --- pcre/CMakeLists.txt 2021-11-05 13:28:16.000000000 +0100
3+ +++ pcre-8.45/CMakeLists.txt 2025-04-02 10:18:49.636009900 +0200
4+ @@ -77,7 +77,7 @@
5+ # CMP0026 to avoid warnings for the use of LOCATION in GET_TARGET_PROPERTY.
6+
7+ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5)
8+ - CMAKE_POLICY(SET CMP0026 OLD)
9+ + #CMAKE_POLICY(SET CMP0026 OLD)
10+
11+ # For FindReadline.cmake. This was changed to allow setting CMAKE_MODULE_PATH
12+ # on the command line.
You can’t perform that action at this time.
0 commit comments