Skip to content

Commit eeb430a

Browse files
committed
add ASIO tests to the CI matrix
1 parent a3e9ca8 commit eeb430a

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/ci.cpu.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
-DCMAKE_BUILD_TYPE=${{ matrix.build }} \
6868
-DCMAKE_CXX_FLAGS="${{ matrix.cxxflags }}" \
6969
-DSTDEXEC_ENABLE_TBB:BOOL=${{ !contains(matrix.cxxflags, '-fsanitize') }} \
70+
-DSTDEXEC_ENABLE_ASIO:BOOL=TRUE \
71+
-DSTDEXEC_ASIO_IMPLEMENTATION:STRING=boost \
7072
;
7173
7274
# Compile
@@ -148,6 +150,8 @@ jobs:
148150
cmake -S. -Bbuild -GNinja \
149151
-DCMAKE_BUILD_TYPE=${{ matrix.build }} \
150152
-DCMAKE_CXX_COMPILER=${{ matrix.compiler }} \
153+
-DSTDEXEC_ENABLE_ASIO:BOOL=TRUE \
154+
-DSTDEXEC_ASIO_IMPLEMENTATION:STRING=boost \
151155
-DCMAKE_CXX_STANDARD=20
152156
cmake --build build/ -v
153157
cd build

.github/workflows/test-windows.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ if (Test-Path -PathType Container $BuildDirectory) {
1919
}
2020
New-Item -ItemType Directory $BuildDirectory | Out-Null
2121

22-
Invoke-NativeCommand cmake -B $BuildDirectory -G Ninja "-DCMAKE_BUILD_TYPE=$Config" "-DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT:STRING=Embedded" .
22+
Invoke-NativeCommand cmake -B $BuildDirectory -G Ninja `
23+
"-DCMAKE_BUILD_TYPE=$Config" `
24+
"-DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT:STRING=Embedded" `
25+
"-DSTDEXEC_ENABLE_ASIO:BOOL=TRUE" `
26+
"-DSTDEXEC_ASIO_IMPLEMENTATION:STRING=boost" .
2327
Invoke-NativeCommand cmake --build $BuildDirectory
2428
Invoke-NativeCommand ctest --test-dir $BuildDirectory

0 commit comments

Comments
 (0)