Skip to content

Commit 1587dda

Browse files
author
peng.li24
committed
fix: CI — disable BUILD_TESTS for .deb build (tests require pybind11 not in CI image)
1 parent ce7932a commit 1587dda

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Configure and build .deb
2424
run: |
2525
mkdir build && cd build
26-
cmake .. -DCMAKE_BUILD_TYPE=Release
26+
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF
2727
make deb
2828
2929
# ---- Release: build .deb and publish on tag -------------------------------
@@ -43,7 +43,7 @@ jobs:
4343
- name: Build .deb
4444
run: |
4545
mkdir build && cd build
46-
cmake .. -DCMAKE_BUILD_TYPE=Release
46+
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF
4747
make deb
4848
4949
- name: Publish release

0 commit comments

Comments
 (0)