diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2022-07-14 17:55:46 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-07-15 13:45:55 +0200 |
commit | 16bec677aab8482a0fc9e26a4356fb5cce502e5a (patch) | |
tree | fcc1a3f818020bf22136e6f06b1833ad68f1477d /.github/workflows | |
parent | c78e7efa7b786f1e4170d025676a0dc69b20ad53 (diff) | |
download | openvswitch-16bec677aab8482a0fc9e26a4356fb5cce502e5a.tar.gz |
debian: Add option to build without DPDK.
Co-authored-by: Frode Nordahl <frode.nordahl@canonical.com>
Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build-and-test.yml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 90fe17377..4c84b3a96 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -216,11 +216,19 @@ jobs: deb_dependencies: | linux-headers-$(uname -r) build-essential fakeroot devscripts equivs DEB_PACKAGE: yes + DPDK: ${{ matrix.dpdk }} - name: linux deb + name: linux deb ${{ matrix.dpdk }} dpdk runs-on: ubuntu-22.04 timeout-minutes: 30 + strategy: + fail-fast: false + matrix: + include: + - dpdk: no + - dpdk: shared + steps: - name: checkout uses: actions/checkout@v2 @@ -234,6 +242,9 @@ jobs: run: sudo apt update || true - name: install dependencies for debian packages run: sudo apt install -y ${{ env.deb_dependencies }} + - name: install dpdk-dev + if: matrix.dpdk != 'no' + run: sudo apt install -y libdpdk-dev - name: prepare run: ./.ci/linux-prepare.sh @@ -244,5 +255,5 @@ jobs: - name: upload deb packages uses: actions/upload-artifact@v2 with: - name: deb-packages + name: deb-packages-${{ matrix.dpdk }}-dpdk path: '/home/runner/work/ovs/*.deb' |