gitlab CI: update to latest Fedoras

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2024-03-21 15:07:59 +10:00
parent 2e0a0cd271
commit 5db8e66bd3
2 changed files with 61 additions and 61 deletions

View file

@ -70,18 +70,18 @@ variables:
variables: variables:
MESON_TEST_ARGS: '--no-suite=needs-uinput' MESON_TEST_ARGS: '--no-suite=needs-uinput'
.fedora:37:
extends: .fdo.distribution-image@fedora
variables:
FDO_DISTRIBUTION_TAG: '2023-05-08.0'
FDO_DISTRIBUTION_VERSION: '37'
.fedora:38: .fedora:38:
extends: .fdo.distribution-image@fedora extends: .fdo.distribution-image@fedora
variables: variables:
FDO_DISTRIBUTION_TAG: '2023-05-08.0' FDO_DISTRIBUTION_TAG: '2023-05-08.0'
FDO_DISTRIBUTION_VERSION: '38' FDO_DISTRIBUTION_VERSION: '38'
.fedora:39:
extends: .fdo.distribution-image@fedora
variables:
FDO_DISTRIBUTION_TAG: '2023-05-08.0'
FDO_DISTRIBUTION_VERSION: '39'
.ubuntu:23.04: .ubuntu:23.04:
extends: .fdo.distribution-image@ubuntu extends: .fdo.distribution-image@ubuntu
variables: variables:
@ -200,26 +200,6 @@ check-merge-request:
# Pulls in the container from upstream or rebuilds it if missing
fedora:37@container-prep:
extends:
- .fedora:37
- .fedora.packages
- .fdo.container-build@fedora
stage: prep
variables:
GIT_STRATEGY: none
# Always rebuilds the container
fedora:37@container-forced-rebuild:
extends:
- fedora:37@container-prep
only:
- schedules
variables:
FDO_FORCE_REBUILD: 1
# Pulls in the container from upstream or rebuilds it if missing # Pulls in the container from upstream or rebuilds it if missing
fedora:38@container-prep: fedora:38@container-prep:
extends: extends:
@ -240,6 +220,26 @@ fedora:38@container-forced-rebuild:
FDO_FORCE_REBUILD: 1 FDO_FORCE_REBUILD: 1
# Pulls in the container from upstream or rebuilds it if missing
fedora:39@container-prep:
extends:
- .fedora:39
- .fedora.packages
- .fdo.container-build@fedora
stage: prep
variables:
GIT_STRATEGY: none
# Always rebuilds the container
fedora:39@container-forced-rebuild:
extends:
- fedora:39@container-prep
only:
- schedules
variables:
FDO_FORCE_REBUILD: 1
# Pulls in the container from upstream or rebuilds it if missing # Pulls in the container from upstream or rebuilds it if missing
ubuntu:23.04@container-prep: ubuntu:23.04@container-prep:
extends: extends:
@ -389,13 +389,6 @@ alpine:latest@container-forced-rebuild:
only: only:
- schedules - schedules
### fedora 37
fedora:37@container-clean:
extends:
- .fedora:37
- .container-clean
needs: ["fedora:37@container-prep"]
### fedora 38 ### fedora 38
fedora:38@container-clean: fedora:38@container-clean:
extends: extends:
@ -403,6 +396,13 @@ fedora:38@container-clean:
- .container-clean - .container-clean
needs: ["fedora:38@container-prep"] needs: ["fedora:38@container-prep"]
### fedora 39
fedora:39@container-clean:
extends:
- .fedora:39
- .container-clean
needs: ["fedora:39@container-prep"]
### ubuntu 23.04 ### ubuntu 23.04
ubuntu:23.04@container-clean: ubuntu:23.04@container-clean:
extends: extends:
@ -467,21 +467,6 @@ alpine:latest@container-clean:
dependencies: [] dependencies: []
fedora:37@autotools-build:
extends:
- .fedora:37
- .autotools-build@template
stage: autotools
needs: ['fedora:37@container-prep']
fedora:37@meson-build:
extends:
- .fedora:37
- .meson-build@template
stage: meson
needs: ['fedora:37@container-prep']
fedora:38@autotools-build: fedora:38@autotools-build:
extends: extends:
- .fedora:38 - .fedora:38
@ -497,6 +482,21 @@ fedora:38@meson-build:
needs: ['fedora:38@container-prep'] needs: ['fedora:38@container-prep']
fedora:39@autotools-build:
extends:
- .fedora:39
- .autotools-build@template
stage: autotools
needs: ['fedora:39@container-prep']
fedora:39@meson-build:
extends:
- .fedora:39
- .meson-build@template
stage: meson
needs: ['fedora:39@container-prep']
ubuntu:23.04@autotools-build: ubuntu:23.04@autotools-build:
extends: extends:
- .ubuntu:23.04 - .ubuntu:23.04
@ -593,10 +593,10 @@ alpine:latest@meson-build:
# because they're supposed to fail equally on all # because they're supposed to fail equally on all
.fedora-custom-build@autotools-template: .fedora-custom-build@autotools-template:
extends: extends:
- .fedora:37 - .fedora:38
- .autotools-build@template - .autotools-build@template
stage: build stage: build
needs: ['fedora:37@container-prep'] needs: ['fedora:38@container-prep']
no-valgrind:autotools: no-valgrind:autotools:
extends: .fedora-custom-build@autotools-template extends: .fedora-custom-build@autotools-template
@ -635,10 +635,10 @@ enable-gcov:autotools:
.fedora-custom-build@meson-template: .fedora-custom-build@meson-template:
extends: extends:
- .fedora:37 - .fedora:38
- .meson-build@template - .meson-build@template
stage: build stage: build
needs: ['fedora:37@container-prep'] needs: ['fedora:38@container-prep']
no-valgrind:meson: no-valgrind:meson:
extends: .fedora-custom-build@meson-template extends: .fedora-custom-build@meson-template
@ -689,7 +689,7 @@ static-build:meson:
soname: soname:
extends: extends:
- .fedora:37 - .fedora:38
stage: build stage: build
script: script:
- ./autogen.sh --prefix=$PWD/prefix-autotools/ - ./autogen.sh --prefix=$PWD/prefix-autotools/
@ -698,7 +698,7 @@ soname:
- meson "$MESON_BUILDDIR" --prefix=$PWD/prefix-meson/ - meson "$MESON_BUILDDIR" --prefix=$PWD/prefix-meson/
- ninja -C "$MESON_BUILDDIR" install - ninja -C "$MESON_BUILDDIR" install
- ls -l $PWD/prefix-meson/lib64/libevdev.so.2.3.0 - ls -l $PWD/prefix-meson/lib64/libevdev.so.2.3.0
needs: ['fedora:37@container-prep'] needs: ['fedora:38@container-prep']
################################################################# #################################################################
# # # #
@ -742,10 +742,10 @@ qemu:meson:
stage: VM stage: VM
extends: extends:
- .fdo.distribution-image@fedora - .fdo.distribution-image@fedora
- .fedora:38 - .fedora:39
- .build-in-b2c@template - .build-in-b2c@template
needs: needs:
- "fedora:38@container-prep" - "fedora:39@container-prep"
qemu:meson:valgrind: qemu:meson:valgrind:
extends: extends:
@ -756,7 +756,7 @@ qemu:meson:valgrind:
meson-from-tarball: meson-from-tarball:
extends: extends:
- .fedora:38 - .fedora:39
stage: tarballs stage: tarballs
script: script:
- export INSTALLDIR="$PWD/_inst" - export INSTALLDIR="$PWD/_inst"
@ -774,11 +774,11 @@ meson-from-tarball:
- ninja -C "$MESON_BUILDDIR" install - ninja -C "$MESON_BUILDDIR" install
- popd > /dev/null - popd > /dev/null
- ls -lR $INSTALLDIR - ls -lR $INSTALLDIR
needs: ['fedora:38@container-prep'] needs: ['fedora:39@container-prep']
autotools-from-tarball: autotools-from-tarball:
extends: extends:
- .fedora:38 - .fedora:39
stage: tarballs stage: tarballs
script: script:
- export INSTALLDIR="$PWD/_inst" - export INSTALLDIR="$PWD/_inst"
@ -799,4 +799,4 @@ autotools-from-tarball:
variables: variables:
LIBEVDEV_SKIP_ROOT_TESTS: 1 LIBEVDEV_SKIP_ROOT_TESTS: 1
needs: ['fedora:38@container-prep'] needs: ['fedora:39@container-prep']

View file

@ -12,8 +12,8 @@ distributions:
# only one distro for qemu tests # only one distro for qemu tests
use_for_qemu_tests: true use_for_qemu_tests: true
versions: versions:
- '37'
- '38' - '38'
- '39'
packages: packages:
- git - git
- gcc - gcc