Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions .github/workflows/deb_validator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Verify debian packages

on:
push:
branches: [ main ]
paths:
- checkbox-ng/**
- checkbox-support/**
- providers/base/**
- providers/certification-client/**
- providers/certification-server/**
- providers/genio/**
- providers/gpgpu/**
- providers/resource/**
- providers/sru/**
- providers/tpm2/**
pull_request:
branches: [ main ]
paths:
- checkbox-ng/**
- checkbox-support/**
- providers/base/**
- providers/certification-client/**
- providers/certification-server/**
- providers/gpgpu/**
- providers/resource/**
- providers/sru/**
- providers/tpm2/**
workflow_dispatch:

jobs:
deb_validation:
strategy:
fail-fast: false
matrix:
# Version of Ubuntu
# note: no 16, we don't support debs for 16 anymore
# no 18, not supported by github
os:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
path:
- checkbox-ng
- checkbox-support
- providers/base
- providers/certification-client
- providers/certification-server
- providers/gpgpu
- providers/resource
- providers/sru
- providers/tpm2
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Checkbox monorepo
uses: actions/checkout@v4
# needed by providers that pull checkbox-support
- name: Install PPA and dependencies
run: |
sudo add-apt-repository ppa:checkbox-dev/edge
sudo apt-get update
sudo apt-get install -qq -y dpkg-dev
- name: Prepare installation
run: mv ${{ matrix.path }}/debian .
- name: Install dependencies
run: sudo apt-get build-dep .
- name: Build source, test and build binary
run: dpkg-buildpackage
9 changes: 7 additions & 2 deletions checkbox-support/debian/control
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Source: checkbox-support
Section: python
Priority: optional
Maintainer: Checkbox Developers <checkbox-devel@lists.ubuntu.com>
Maintainer: Checkbox Developers <checkbox-devel@lists.ubuntu.com>
Uploaders: Sylvain Pineau <sylvain.pineau@canonical.com>
Build-Depends:
debhelper (>= 9),
Expand All @@ -20,7 +20,10 @@ Build-Depends:
python3-requests-unixsocket,
python3-setuptools,
python3-setuptools-scm,
python3-yaml
python3-yaml,
python3-numpy,
python3-opencv,
python3-systemd,
Standards-Version: 3.9.6
X-Python3-Version: >= 3.5
XS-Testsuite: autopkgtest
Expand All @@ -43,6 +46,8 @@ Depends: gir1.2-gudev-1.0,
udisks2,
${misc:Depends},
${python3:Depends}
Recommends: python3-opencv,
python3-numpy
Description: collection of Python modules used by PlainBox providers
This package contains the CheckBox support Python 3 library, primarily used by
the CheckBox provider.
Expand Down