summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@ovn.org>2022-08-09 16:03:59 +0200
committerIlya Maximets <i.maximets@ovn.org>2022-08-12 01:15:56 +0200
commit1ed39251943cb830bb9689114edc69024805ddad (patch)
tree86eb1e894d4d3aacadc418fbe85706d465febbbb
parent9bed06ab0531c687864cc5e05797c6acb8c89f49 (diff)
downloadopenvswitch-1ed39251943cb830bb9689114edc69024805ddad.tar.gz
github: Move CI to ubuntu 20.04 base image.
18.04 image is deprecated and will disappear soon. Also some slowdowns and brownouts are planned to push users away from this deprecated version: https://github.com/actions/virtual-environments/issues/6002 Moving to 20.04. Can't move to 22.04 at the moment because of deprecation warnings from openssl 3.0. Added missing dh-python dependency for debian. And disabled cast-align warnings also for GCC, since newer versions are complaining about DPDK headers in the same way as Clang does. Acked-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
-rwxr-xr-x.ci/linux-build.sh6
-rw-r--r--.github/workflows/build-and-test.yml4
-rw-r--r--debian/control1
3 files changed, 5 insertions, 6 deletions
diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index 178487896..17ce6961f 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -187,10 +187,8 @@ if [ "$DPDK" ] || [ "$DPDK_SHARED" ]; then
install_dpdk $DPDK_VER
# Enable pdump support in OVS.
EXTRA_OPTS="${EXTRA_OPTS} --enable-dpdk-pdump"
- if [ "$CC" = "clang" ]; then
- # Disregard cast alignment errors until DPDK is fixed
- CFLAGS_FOR_OVS="${CFLAGS_FOR_OVS} -Wno-cast-align"
- fi
+ # Disregard cast alignment errors until DPDK is fixed
+ CFLAGS_FOR_OVS="${CFLAGS_FOR_OVS} -Wno-cast-align"
fi
if [ "$CC" = "clang" ]; then
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index 667cb27e8..9b951a07d 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -6,7 +6,7 @@ jobs:
build-linux:
env:
dependencies: |
- automake libtool gcc bc libjemalloc1 libjemalloc-dev \
+ automake libtool gcc bc libjemalloc2 libjemalloc-dev \
libssl-dev llvm-dev libelf-dev libnuma-dev libpcap-dev \
python3-openssl python3-pip python3-sphinx \
selinux-policy-dev
@@ -25,7 +25,7 @@ jobs:
TESTSUITE: ${{ matrix.testsuite }}
name: linux ${{ join(matrix.*, ' ') }}
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
timeout-minutes: 30
strategy:
diff --git a/debian/control b/debian/control
index 6420b9d3e..27359a297 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Build-Depends: graphviz,
bzip2,
debhelper (>= 8),
dh-autoreconf,
+ dh-python,
libssl-dev,
libtool,
openssl,