mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2026-05-08 20:38:10 +02:00
gitlab CI: make the tarball distro selection automatic
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
4e5babd7a1
commit
a53c6d1154
3 changed files with 9 additions and 5 deletions
|
|
@ -494,9 +494,11 @@ qemu:meson:valgrind:
|
||||||
MESON_TEST_ARGS: '--setup=valgrind'
|
MESON_TEST_ARGS: '--setup=valgrind'
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
{% for distro in distributions if distro.use_for_tarball_tests %}
|
||||||
|
{% set version = "{}".format(distro.versions|last()) %}
|
||||||
meson-from-tarball:
|
meson-from-tarball:
|
||||||
extends:
|
extends:
|
||||||
- .fedora:32
|
- .{{distro.name}}:{{version}}
|
||||||
stage: tarballs
|
stage: tarballs
|
||||||
script:
|
script:
|
||||||
- export INSTALLDIR="$PWD/_inst"
|
- export INSTALLDIR="$PWD/_inst"
|
||||||
|
|
@ -514,11 +516,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:32@container-prep']
|
needs: ['{{distro.name}}:{{version}}@container-prep']
|
||||||
|
|
||||||
autotools-from-tarball:
|
autotools-from-tarball:
|
||||||
extends:
|
extends:
|
||||||
- .fedora:32
|
- .{{distro.name}}:{{version}}
|
||||||
stage: tarballs
|
stage: tarballs
|
||||||
script:
|
script:
|
||||||
- export INSTALLDIR="$PWD/_inst"
|
- export INSTALLDIR="$PWD/_inst"
|
||||||
|
|
@ -536,4 +538,5 @@ autotools-from-tarball:
|
||||||
- popd > /dev/null
|
- popd > /dev/null
|
||||||
- popd > /dev/null
|
- popd > /dev/null
|
||||||
- ls -lR $INSTALLDIR
|
- ls -lR $INSTALLDIR
|
||||||
needs: ['fedora:32@container-prep']
|
needs: ['{{distro.name}}:{{version}}@container-prep']
|
||||||
|
{% endfor %}
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ distributions:
|
||||||
- name: fedora
|
- name: fedora
|
||||||
tag: *default_tag
|
tag: *default_tag
|
||||||
want_qemu: true
|
want_qemu: true
|
||||||
|
use_for_tarball_tests: true
|
||||||
versions:
|
versions:
|
||||||
- '33'
|
- '33'
|
||||||
- '32'
|
- '32'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue