Skip to content

Commit 099dd48

Browse files
Add check to see if .deb package generation works
1 parent e900aa9 commit 099dd48

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
# user input
5252
DEBIAN_FRONTEND: noninteractive
5353
run: |
54-
sudo apt-get install -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils cpanminus
54+
sudo apt-get install -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils cpanminus dpkg-dev
5555
cpanm Thread::Pool::Simple
5656
- name: Configure using CMake
5757
run: |
@@ -60,6 +60,11 @@ jobs:
6060
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++
6161
- name: Build with Ninja
6262
run: cd build; ninja
63+
- name: Check if package building works
64+
run: |
65+
cd build
66+
ninja package
67+
ls *.deb
6368
- name: Run tests
6469
run: cd build; ctest . -V -L CORE
6570
env:

0 commit comments

Comments
 (0)