@@ -20,14 +20,10 @@ jobs:
2020 - name : Configure CMake
2121 run : cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
2222 - name : Build
23- run : |
24- cores=$(sysctl -n hw.ncpu)
25- ninja -C ${{github.workspace}}/build -j$((cores + 1))
23+ run : ninja -C ${{github.workspace}}/build
2624 - name : Test
2725 working-directory : ${{github.workspace}}/build
28- run : |
29- cores=$(sysctl -n hw.ncpu)
30- ctest -C ${{env.BUILD_TYPE}} --output-on-failure --parallel $cores
26+ run : ctest -C ${{env.BUILD_TYPE}} --output-on-failure --parallel
3127
3228 ubuntu :
3329 runs-on : ubuntu-latest
@@ -42,15 +38,12 @@ jobs:
4238 -DCMAKE_C_FLAGS="-fsanitize=leak" \
4339 -DCMAKE_CXX_FLAGS="-fsanitize=leak"
4440 - name : Build
45- run : |
46- cores=$(nproc)
47- ninja -C ${{github.workspace}}/build -j$((cores + 1))
41+ run : ninja -C ${{github.workspace}}/build
4842 - name : Test with LSan
4943 working-directory : ${{github.workspace}}/build
5044 run : |
5145 export ASAN_OPTIONS="detect_leaks=1:halt_on_error=1:verbosity=1"
52- cores=$(nproc)
53- ctest -C ${{env.BUILD_TYPE}} --output-on-failure --parallel $cores
46+ ctest -C ${{env.BUILD_TYPE}} --output-on-failure --parallel
5447
5548 selfhosted :
5649 runs-on : self-hosted
5952 - name : Configure CMake
6053 run : cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DENABLE_GLCACHE=on -DENABLE_LRB=on
6154 - name : Build
62- run : |
63- cores=$(nproc)
64- ninja -C ${{github.workspace}}/build -j$((cores + 1))
55+ run : ninja -C ${{github.workspace}}/build
6556 - name : Test
6657 working-directory : ${{github.workspace}}/build
67- run : |
68- cores=$(nproc)
69- ctest -C ${{env.BUILD_TYPE}} --output-on-failure --parallel $cores
58+ run : ctest -C ${{env.BUILD_TYPE}} --output-on-failure --parallel
0 commit comments