File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 # see https://www.pcre.org/original/changelog.txt
2323 PCRE_VERSION : 8.45
2424 QT_VERSION : 6.10.0
25+ BOOST_MINOR_VERSION : 89
2526
2627 steps :
2728 - uses : actions/checkout@v4
4647 copy pcre.h ..\externals || exit /b !errorlevel!
4748 copy Release\pcre.lib ..\externals\pcre64.lib || exit /b !errorlevel!
4849
50+ - name : Download Boost
51+ run : |
52+ curl -fsSL https://archives.boost.io/release/1.%BOOST_MINOR_VERSION%.0/source/boost_1_%BOOST_MINOR_VERSION%_0.7z -o boost.zip || exit /b !errorlevel!
53+
54+ - name : Install Boost
55+ run : |
56+ @echo on
57+ 7z x boost.zip boost_1_%BOOST_MINOR_VERSION%_0/boost || exit /b !errorlevel!
58+ ren boost_1_%BOOST_MINOR_VERSION%_0 boost || exit /b !errorlevel!
59+
4960 # available modules: https://github.com/miurahr/aqtinstall/blob/master/docs/getting_started.rst#installing-modules
5061 # available tools: https://github.com/miurahr/aqtinstall/blob/master/docs/getting_started.rst#installing-tools
5162 - name : Install Qt ${{ env.QT_VERSION }}
6273 run : |
6374 :: TODO: enable rules?
6475 :: specify Release build so matchcompiler is used
65- cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_GUI=On -DWITH_QCHART=On -DBUILD_ONLINE_HELP=On -DCMAKE_COMPILE_WARNING_AS_ERROR=On || exit /b !errorlevel!
76+ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_GUI=On -DWITH_QCHART=On -DBUILD_ONLINE_HELP=On -DUSE_BOOST=ON -DBOOST_INCLUDEDIR=%GITHUB_WORKSPACE%\boost - DCMAKE_COMPILE_WARNING_AS_ERROR=On || exit /b !errorlevel!
6677 cmake --build build --target cppcheck-gui --config Release || exit /b !errorlevel!
6778
6879 # TODO: package PDBs
You can’t perform that action at this time.
0 commit comments