diff options
Diffstat (limited to '')
-rw-r--r-- | subprojects/gvc/.gitlab-ci.yml | 16 | ||||
-rw-r--r-- | subprojects/gvc/.gitlab-ci/meson.build | 23 | ||||
l--------- | subprojects/gvc/.gitlab-ci/subprojects/gvc | 1 |
3 files changed, 40 insertions, 0 deletions
diff --git a/subprojects/gvc/.gitlab-ci.yml b/subprojects/gvc/.gitlab-ci.yml new file mode 100644 index 0000000..447a655 --- /dev/null +++ b/subprojects/gvc/.gitlab-ci.yml @@ -0,0 +1,16 @@ +stages: +- test + +build-fedora: + image: fedora:latest + stage: test + before_script: + - dnf install -y redhat-rpm-config gcc clang meson pulseaudio-libs-devel alsa-lib-devel gtk3-devel + script: + - cd .gitlab-ci + - meson _build + - ninja -C _build + - rm -rf _build + - CC=clang meson _build + - ninja -C _build + diff --git a/subprojects/gvc/.gitlab-ci/meson.build b/subprojects/gvc/.gitlab-ci/meson.build new file mode 100644 index 0000000..d54e1dd --- /dev/null +++ b/subprojects/gvc/.gitlab-ci/meson.build @@ -0,0 +1,23 @@ +project('gnome-volume-control-ci', 'c', + version: '1.0.0', + meson_version: '>= 0.47.0', + license: 'GPLv2+' +) + +prefix = get_option('prefix') + +datadir = join_paths(prefix, get_option('datadir')) +libdir = join_paths(prefix, get_option('libdir')) + +pkgdatadir = join_paths(datadir, meson.project_name()) +pkglibdir = join_paths(libdir, meson.project_name()) + +libgvc = subproject('gvc', + default_options: [ + 'package_name=' + meson.project_name(), + 'package_version=' + meson.project_version(), + 'pkgdatadir=' + pkgdatadir, + 'pkglibdir=' + pkglibdir, + 'alsa=true' + ] +) diff --git a/subprojects/gvc/.gitlab-ci/subprojects/gvc b/subprojects/gvc/.gitlab-ci/subprojects/gvc new file mode 120000 index 0000000..6581736 --- /dev/null +++ b/subprojects/gvc/.gitlab-ci/subprojects/gvc @@ -0,0 +1 @@ +../../
\ No newline at end of file |