mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
ci_template.yml: Run the check test suite!!!
Add a fedora job that runs the 'check' tests with gst-validate-launcher. Its fairly well abstracted so the same template can be used to add the rest of the test-suites fairly soon.
This commit is contained in:
parent
c9ee22d4c3
commit
7151af0270
2 changed files with 55 additions and 1 deletions
|
@ -162,3 +162,17 @@ build cerbero fedora x86_64 local:
|
||||||
except:
|
except:
|
||||||
refs:
|
refs:
|
||||||
- "master@gstreamer/gst-ci"
|
- "master@gstreamer/gst-ci"
|
||||||
|
|
||||||
|
.test fedora x86_64 local:
|
||||||
|
image: '${CI_REGISTRY_IMAGE}/amd64/fedora:latest'
|
||||||
|
extends: '.test'
|
||||||
|
dependencies:
|
||||||
|
- build fedora x86_64 local
|
||||||
|
except:
|
||||||
|
refs:
|
||||||
|
- "master@gstreamer/gst-ci"
|
||||||
|
|
||||||
|
check fedora local:
|
||||||
|
extends: '.test fedora x86_64 local'
|
||||||
|
variables:
|
||||||
|
TEST_SUITE: 'check.gst*'
|
||||||
|
|
|
@ -68,7 +68,7 @@ gst indent:
|
||||||
CXX: "ccache g++"
|
CXX: "ccache g++"
|
||||||
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
|
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
|
||||||
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
|
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
|
||||||
MAIN_DIR: "${CI_PROJECT_DIR}"
|
MAIN_DIR: "${CI_PROJECT_DIR}/validate-output/"
|
||||||
MESON_ARGS: "${DEFAULT_MESON_ARGS}"
|
MESON_ARGS: "${DEFAULT_MESON_ARGS}"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
@ -115,6 +115,46 @@ build android arm64 api28:
|
||||||
before_script:
|
before_script:
|
||||||
- cat /android_arm64_28.txt
|
- cat /android_arm64_28.txt
|
||||||
|
|
||||||
|
.test:
|
||||||
|
stage: 'test'
|
||||||
|
variables:
|
||||||
|
MAIN_DIR: "${CI_PROJECT_DIR}/validate-output/"
|
||||||
|
# Disable colored output to avoid weird rendering issues
|
||||||
|
GST_DEBUG_COLOR: 'no'
|
||||||
|
script:
|
||||||
|
- cd gst-build/
|
||||||
|
- >
|
||||||
|
./gst-uninstalled.py
|
||||||
|
gst-validate-launcher ${TEST_SUITE}
|
||||||
|
-fs
|
||||||
|
-j=1
|
||||||
|
--mute
|
||||||
|
--shuffle
|
||||||
|
--no-display
|
||||||
|
--meson-no-rebuild
|
||||||
|
-M "${CI_PROJECT_DIR}/validate-output/"
|
||||||
|
--xunit-file "${CI_PROJECT_DIR}/validate-output/logs/xunit.xml"
|
||||||
|
artifacts:
|
||||||
|
expire_in: 2 days
|
||||||
|
when: always
|
||||||
|
paths:
|
||||||
|
- 'gst-build/build/meson-logs/'
|
||||||
|
- 'validate-output/logs'
|
||||||
|
reports:
|
||||||
|
junit:
|
||||||
|
- "validate-output/logs/*.xml"
|
||||||
|
|
||||||
|
.test fedora x86_64:
|
||||||
|
image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/fedora:6f7e01e1e30a73efa880acdc8e911f1f20c58dbb'
|
||||||
|
extends: '.test'
|
||||||
|
dependencies:
|
||||||
|
- build fedora x86_64
|
||||||
|
|
||||||
|
check fedora:
|
||||||
|
extends: '.test fedora x86_64'
|
||||||
|
variables:
|
||||||
|
TEST_SUITE: "check.gst*"
|
||||||
|
|
||||||
# Template for Cerbero GStreamer Build
|
# Template for Cerbero GStreamer Build
|
||||||
#
|
#
|
||||||
# Parameters:
|
# Parameters:
|
||||||
|
|
Loading…
Reference in a new issue