On Thu, Feb 19, 2026 at 6:07 PM Ihar Hrachyshka via dev <
[email protected]> wrote:

> Signed-off-by: Ihar Hrachyshka <[email protected]>
> ---
>

Hi Ihar,

thank you for v2, I'm not an Ubuntu expert so I won't comment on the build
process.
One small nit down below. Other than that the action looks fine.

 .github/workflows/test.yml | 52 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 52 insertions(+)
>
> diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
> index b6e461129..1ce722641 100644
> --- a/.github/workflows/test.yml
> +++ b/.github/workflows/test.yml
> @@ -313,3 +313,55 @@ jobs:
>              rpm/rpmbuild/SRPMS/*.rpm
>              rpm/rpmbuild/RPMS/*/*.rpm
>            retention-days: 14
> +
> +  build-linux-deb:
> +    name: linux deb debian
> +    if: github.repository_owner == 'ovn-org' || github.event_name !=
> 'schedule'
> +    runs-on: ubuntu-24.04
> +    container:
> +      image: debian:trixie
> +      options: --init  # Use tini for proper process management
> +    timeout-minutes: 30
> +
> +    strategy:
> +      fail-fast: false
> +
> +    steps:
> +      - name: install dependencies
> +        run: |
> +          apt-get update
> +          apt-get install -y git build-essential fakeroot devscripts
> equivs
> +
> +      - name: checkout
> +        uses: actions/checkout@v4
> +        with:
> +          submodules: recursive
> +
> +      - name: install build dependencies
> +        run: |
> +          mk-build-deps -i -r -t 'apt-get -y --no-install-recommends'
> debian/control
> +
> +      - name: install sudo for fix_etc_hosts
> +        run: |
> +          apt-get install -y sudo
>

I think it's completely fine to move this into the dependency step.


> +
> +      - name: Fix /etc/hosts file
> +        run: |
> +          . .ci/linux-util.sh
> +          fix_etc_hosts
> +
> +      - name: build Debian packages
> +        run: |
> +          dpkg-buildpackage -us -uc -b
> +
> +      - name: collect deb packages
> +        run: |
> +          mkdir -p deb-packages
> +          cp ../*.deb deb-packages/
> +
> +      - name: upload deb packages
> +        uses: actions/upload-artifact@v4
> +        with:
> +          name: deb-packages
> +          path: deb-packages/
> +          retention-days: 14
> --
> 2.52.0
>
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
>
Regards,
Ales
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to