Skip to content

Commit 8cb35b6

Browse files
committed
Try to fix cmake config argument.
1 parent f88ce57 commit 8cb35b6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/cmake.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@ jobs:
3434
submodules: recursive
3535

3636
- name: Install Packages (Ubuntu)
37-
run: |
38-
sudo apt-get install -y uuid-dev
3937
if: matrix.os == 'ubuntu-latest'
38+
run: sudo apt-get install -y uuid-dev
4039

4140
- name: Configure CMake
4241
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -Dflow-core_BUILD_TESTS=ON -Dflow-code_BUILD_BENCHMARKS=ON
4342

4443
- name: Build
45-
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel 18
44+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel 10
4645

4746
- name: Upload Artifacts
4847
uses: actions/upload-artifact@v4

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ endif()
160160
# -----------------------------------------------------------------------------
161161

162162
if (${PROJECT_NAME}_BUILD_BENCHMARKS)
163-
enable_testing()
164163
add_subdirectory(benchmarks)
165164
endif()
166165

0 commit comments

Comments
 (0)