diff options
author | Dario Lombardo <lomato@gmail.com> | 2020-03-02 14:20:32 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2020-03-08 19:03:46 +0000 |
commit | c2b1cf6f33f2907be865d2ae8148fd47c29e3fc9 (patch) | |
tree | 58efd54e894f9764b1de53f1b43e1e70b431b7d2 /.github | |
parent | d39e27ad96494fb68e73492a2bace1e5c1bb9ce3 (diff) |
github: create debian package and upload it as artifact.
Change-Id: Id9e17ecacddfd1a22370a1e1e87cb04ef634f297
Reviewed-on: https://code.wireshark.org/review/36318
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ubuntu.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index eb402d870b..c0d3f1214c 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -10,7 +10,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Install deps - run: sudo tools/debian-setup.sh --install-optional --install-test-deps python3-pip -y + run: sudo tools/debian-setup.sh --install-optional --install-test-deps --install-deb-deps python3-pip -y - name: Mkdir run: mkdir build - name: Cmake @@ -33,3 +33,14 @@ jobs: PYTEST_ADDOPTS: --skip-missing-programs=rawshark run: pytest working-directory: build + - name: Build debian pkg + run: dpkg-buildpackage -b -us -uc -jauto + - name: Move deb packages + run: | + mkdir deb + mv ../*.deb deb + - name: Upload deb packages + uses: actions/upload-artifact@v1 + with: + name: packages + path: deb |