Skip to content

Commit 5b9ed75

Browse files
committed
[coro_io] update ci
1 parent 9b6d681 commit 5b9ed75

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

.github/workflows/mac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: OPENSSL_ROOT_DIR=/usr/local/opt/openssl@3 CXX=clang++ CC=clang cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{matrix.mode}} -DYLT_ENABLE_SSL=${{matrix.ssl}} -DUSE_CCACHE=ON
4040

4141
- name: Build
42-
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} -- -j$(( $(sysctl -n hw.logicalcpu) / 2 + 1 ))
42+
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}}
4343

4444
- name: Test
4545
working-directory: ${{github.workspace}}/build

.github/workflows/ntls_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
- name: Build
115115
run: |
116116
export LD_LIBRARY_PATH=${TONGSUO_INSTALL_PREFIX}/lib:$LD_LIBRARY_PATH
117-
cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} -- -j$(($(nproc)/2 + 1))
117+
cmake --build ${{github.workspace}}/build --config ${{matrix.mode}}
118118
119119
- name: Verify NTLS examples are built
120120
run: |

.github/workflows/s390x.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@ jobs:
2424
apt-get update -q -y
2525
apt-get -y install cmake
2626
apt-get -y install make
27-
apt-get -y install g++
27+
apt-get -y install clang
28+
apt-get -y install clang++
2829
run: |
2930
lscpu | grep Endian
30-
CXX=g++ CC=gcc
31+
CXX=clang++ CC=clang
3132
cmake -B ${{github.workspace}}/build \
3233
-DCMAKE_BUILD_TYPE=Debug \
3334
-DBUILD_METRIC=OFF -DBUILD_CORO_HTTP=OFF -DBUILD_CORO_IO=OFF -DBUILD_CORO_RPC=OFF -DBUILD_EASYLOG=OFF -DBUILD_STRUCT_JSON=OFF -DBUILD_STRUCT_XML=OFF -DBUILD_STRUCT_YAML=OFF -DBUILD_UTIL=OFF -DBUILD_EXAMPLES=OFF -DBUILD_BENCHMARK=OFF
34-
cmake --build ${{github.workspace}}/build -- -j$(($(nproc)/2 + 1))
35+
cmake --build ${{github.workspace}}/build -- -j
3536
cd ${{github.workspace}}/build/output/tests
3637
./struct_pack_test
3738
./struct_pack_test_with_optimize

.github/workflows/ubuntu_clang.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
-DCMAKE_BUILD_TYPE=${{matrix.mode}} -DBUILD_WITH_LIBCXX=${{matrix.libcxx}} -DYLT_ENABLE_SSL=${{matrix.ssl}} \
5151
-DUSE_CCACHE=${{env.ccache}} -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17
5252
- name: Build
53-
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} -- -j$(($(nproc)/2 + 1))
53+
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}}
5454

5555
- name: Test
5656
working-directory: ${{github.workspace}}/build
@@ -96,7 +96,7 @@ jobs:
9696
-DUSE_CCACHE=${{env.ccache}} -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17\
9797
-DENABLE_TSAN=ON
9898
- name: Build
99-
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} -- -j$(($(nproc)/2 + 1))
99+
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}}
100100

101101
- name: Test
102102
working-directory: ${{github.workspace}}/build
@@ -145,7 +145,7 @@ jobs:
145145
-DBUILD_STRUCT_JSON=OFF -DBUILD_STRUCT_XML=OFF -DBUILD_STRUCT_PACK=OFF -DBUILD_STRUCT_YAML=OFF -DBUILD_UTIL=OFF
146146
147147
- name: Build
148-
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} -- -j$(($(nproc)/2 + 1))
148+
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}}
149149

150150
- name: Test
151151
working-directory: ${{github.workspace}}/build
@@ -181,7 +181,7 @@ jobs:
181181
-DUSE_CCACHE=${{env.ccache}} -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
182182
183183
- name: Build
184-
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} -- -j$(($(nproc)/2 + 1))
184+
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}}
185185

186186
- name: Test
187187
working-directory: ${{github.workspace}}/build

.github/workflows/ubuntu_gcc.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
-DUSE_CCACHE=${{env.ccache}}
4343
4444
- name: Build
45-
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} -- -j$(($(nproc)/2 + 1))
45+
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}}
4646

4747
- name: Test
4848
working-directory: ${{github.workspace}}/build
@@ -78,7 +78,7 @@ jobs:
7878
-DUSE_CCACHE=${{env.ccache}} -DENABLE_TSAN=ON
7979
8080
- name: Build
81-
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} -- -j$(($(nproc)/2 + 1))
81+
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}}
8282

8383
- name: Test
8484
working-directory: ${{github.workspace}}/build
@@ -116,7 +116,7 @@ jobs:
116116
-DBUILD_STRUCT_JSON=OFF -DBUILD_STRUCT_XML=OFF -DBUILD_STRUCT_PACK=OFF -DBUILD_STRUCT_YAML=OFF -DBUILD_UTIL=OFF
117117
118118
- name: Build
119-
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} -- -j$(($(nproc)/2 + 1))
119+
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}}
120120

121121
- name: Test
122122
working-directory: ${{github.workspace}}/build
@@ -148,7 +148,7 @@ jobs:
148148
-DUSE_CCACHE=${{env.ccache}} \
149149
150150
- name: Build
151-
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} -- -j$(($(nproc)/2 + 1))
151+
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}}
152152

153153
- name: Test
154154
working-directory: ${{github.workspace}}/build

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Configure CMake
4141
run: cmake -B ${{github.workspace}}\build -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DYLT_ENABLE_SSL=${{matrix.ssl}} -DUSE_CCACHE=ON
4242
- name: Build
43-
run: cmake --build ${{github.workspace}}\build -- -j3
43+
run: cmake --build ${{github.workspace}}\build
4444
- name: Test
4545
working-directory: ${{github.workspace}}\build
4646
run: ctest -C ${{matrix.mode}} -j 1 -V

0 commit comments

Comments
 (0)