File tree Expand file tree Collapse file tree 6 files changed +15
-14
lines changed
Expand file tree Collapse file tree 6 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 : |
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments