diff mbox series

[4/6] .travis.yml: Update the jobs to Ubuntu 22.04

Message ID 20240320104144.823425-5-thuth@redhat.com
State New
Headers show
Series Updates for the .travis.yml file | expand

Commit Message

Thomas Huth March 20, 2024, 10:41 a.m. UTC
According to our support policy, we'll soon drop our official support
for Ubuntu 20.04 ("Focal Fossa") in QEMU. Thus we should update the
Travis jobs now to a newer release (Ubuntu 22.04 - "Jammy Jellyfish")
for future testing. Since all jobs are using this release now, we
can drop the entries from the individual jobs and use the global
setting again.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 .travis.yml | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

Comments

Philippe Mathieu-Daudé March 20, 2024, 11:12 a.m. UTC | #1
On 20/3/24 11:41, Thomas Huth wrote:
> According to our support policy, we'll soon drop our official support
> for Ubuntu 20.04 ("Focal Fossa") in QEMU. Thus we should update the
> Travis jobs now to a newer release (Ubuntu 22.04 - "Jammy Jellyfish")
> for future testing. Since all jobs are using this release now, we
> can drop the entries from the individual jobs and use the global
> setting again.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>   .travis.yml | 13 +++----------
>   1 file changed, 3 insertions(+), 10 deletions(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 8da88c4360..16cf706c07 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -1,5 +1,5 @@
>   os: linux
> -dist: focal
> +dist: jammy

FYI Peter suggested to Alex on IRC to wait for the v9.0 release tag.
Peter Maydell March 20, 2024, 11:21 a.m. UTC | #2
On Wed, 20 Mar 2024 at 11:13, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>
> On 20/3/24 11:41, Thomas Huth wrote:
> > According to our support policy, we'll soon drop our official support
> > for Ubuntu 20.04 ("Focal Fossa") in QEMU. Thus we should update the
> > Travis jobs now to a newer release (Ubuntu 22.04 - "Jammy Jellyfish")
> > for future testing. Since all jobs are using this release now, we
> > can drop the entries from the individual jobs and use the global
> > setting again.
> >
> > Signed-off-by: Thomas Huth <thuth@redhat.com>
> > ---
> >   .travis.yml | 13 +++----------
> >   1 file changed, 3 insertions(+), 10 deletions(-)
> >
> > diff --git a/.travis.yml b/.travis.yml
> > index 8da88c4360..16cf706c07 100644
> > --- a/.travis.yml
> > +++ b/.travis.yml
> > @@ -1,5 +1,5 @@
> >   os: linux
> > -dist: focal
> > +dist: jammy
>
> FYI Peter suggested to Alex on IRC to wait for the v9.0 release tag.

Yes; unless 20.04 is already no longer in our supported-platforms
list or there's some other "this is actively broken" problem, I tend
to prefer not changing the CI test platform set during freeze.

thanks
-- PMM
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 8da88c4360..16cf706c07 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,5 @@ 
 os: linux
-dist: focal
+dist: jammy
 language: c
 compiler:
   - gcc
@@ -7,7 +7,7 @@  cache:
   # There is one cache per branch and compiler version.
   # characteristics of each job are used to identify the cache:
   # - OS name (currently only linux)
-  # - OS distribution (for Linux, bionic or focal)
+  # - OS distribution (e.g. "jammy" for Linux)
   # - Names and values of visible environment variables set in .travis.yml or Settings panel
   timeout: 1200
   ccache: true
@@ -81,7 +81,6 @@  jobs:
 
     - name: "[aarch64] GCC check-tcg"
       arch: arm64
-      dist: focal
       addons:
         apt_packages:
           - libaio-dev
@@ -117,7 +116,6 @@  jobs:
 
     - name: "[ppc64] GCC check-tcg"
       arch: ppc64le
-      dist: focal
       addons:
         apt_packages:
           - libaio-dev
@@ -152,7 +150,6 @@  jobs:
 
     - name: "[s390x] GCC check-tcg"
       arch: s390x
-      dist: focal
       addons:
         apt_packages:
           - libaio-dev
@@ -197,7 +194,6 @@  jobs:
 
     - name: "[s390x] GCC (other-system)"
       arch: s390x
-      dist: focal
       addons:
         apt_packages:
           - libaio-dev
@@ -227,7 +223,6 @@  jobs:
 
     - name: "[s390x] GCC (user)"
       arch: s390x
-      dist: focal
       addons:
         apt_packages:
           - libgcrypt20-dev
@@ -242,8 +237,7 @@  jobs:
 
     - name: "[s390x] Clang (disable-tcg)"
       arch: s390x
-      dist: focal
-      compiler: clang-10
+      compiler: clang
       addons:
         apt_packages:
           - libaio-dev
@@ -269,7 +263,6 @@  jobs:
           - libvdeplug-dev
           - libvte-2.91-dev
           - ninja-build
-          - clang-10
       env:
         - TEST_CMD="make check-unit"
         - CONFIG="--disable-containers --disable-tcg --enable-kvm --disable-tools