Skip to content

Commit 66d1516

Browse files
committed
enh(CI): Add static and MT MSVC builds.
1 parent 870a3e9 commit 66d1516

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

.github/workflows/ci.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,58 @@ jobs:
607607
cd cmake-build;
608608
ctest --output-on-failure -E "(DataMySQL)|(DataODBC)|(Redis)|(MongoDB)" -C Release
609609
610+
windows-2022-msvc-cmake-mt:
611+
runs-on: windows-2022
612+
env:
613+
CPPUNIT_IGNORE: >-
614+
class CppUnit::TestCaller<class PathTest>.testFind,
615+
class CppUnit::TestCaller<class ICMPSocketTest>.testSendToReceiveFrom,
616+
class CppUnit::TestCaller<class ICMPClientTest>.testPing,
617+
class CppUnit::TestCaller<class ICMPClientTest>.testBigPing,
618+
class CppUnit::TestCaller<class ICMPSocketTest>.testMTU,
619+
class CppUnit::TestCaller<class HTTPSClientSessionTest>.testProxy,
620+
class CppUnit::TestCaller<class HTTPSStreamFactoryTest>.testProxy,
621+
class CppUnit::TestCaller<class FileTest>.testExists,
622+
class CppUnit::TestCaller<class ProcessRunnerTest>.testProcessRunner
623+
steps:
624+
- uses: actions/checkout@v4
625+
- run: cmake -S. -Bcmake-build -DPOCO_MT=ON -DENABLE_NETSSL_WIN=ON -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_JWT=OFF -DENABLE_DATA=ON -DENABLE_DATA_ODBC=ON -DENABLE_DATA_MYSQL=OFF -DENABLE_DATA_POSTGRESQL=OFF -DENABLE_TESTS=ON
626+
- run: cmake --build cmake-build --config Release
627+
- uses: ./.github/actions/retry-action
628+
with:
629+
timeout_minutes: 90
630+
max_attempts: 3
631+
retry_on: any
632+
command: >-
633+
cd cmake-build;
634+
ctest --output-on-failure -E "(DataMySQL)|(DataODBC)|(Redis)|(MongoDB)" -C Release
635+
636+
windows-2022-msvc-cmake-static:
637+
runs-on: windows-2022
638+
env:
639+
CPPUNIT_IGNORE: >-
640+
class CppUnit::TestCaller<class PathTest>.testFind,
641+
class CppUnit::TestCaller<class ICMPSocketTest>.testSendToReceiveFrom,
642+
class CppUnit::TestCaller<class ICMPClientTest>.testPing,
643+
class CppUnit::TestCaller<class ICMPClientTest>.testBigPing,
644+
class CppUnit::TestCaller<class ICMPSocketTest>.testMTU,
645+
class CppUnit::TestCaller<class HTTPSClientSessionTest>.testProxy,
646+
class CppUnit::TestCaller<class HTTPSStreamFactoryTest>.testProxy,
647+
class CppUnit::TestCaller<class FileTest>.testExists,
648+
class CppUnit::TestCaller<class ProcessRunnerTest>.testProcessRunner
649+
steps:
650+
- uses: actions/checkout@v4
651+
- run: cmake -S. -Bcmake-build -DBUILD_SHARED_LIBS=OFF -DENABLE_NETSSL_WIN=ON -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_JWT=OFF -DENABLE_DATA=ON -DENABLE_DATA_ODBC=ON -DENABLE_DATA_MYSQL=OFF -DENABLE_DATA_POSTGRESQL=OFF -DENABLE_TESTS=ON
652+
- run: cmake --build cmake-build --config Release
653+
- uses: ./.github/actions/retry-action
654+
with:
655+
timeout_minutes: 90
656+
max_attempts: 3
657+
retry_on: any
658+
command: >-
659+
cd cmake-build;
660+
ctest --output-on-failure -E "(DataMySQL)|(DataODBC)|(Redis)|(MongoDB)" -C Release
661+
610662
# missing asan dll path
611663
# windows-2022-msvc-cmake-asan:
612664
# runs-on: windows-2022

0 commit comments

Comments
 (0)