mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-27 09:36:53 +02:00
Merge branch 'fix-fedora-ci-build' into 'master'
Rebuild Fedora CI image See merge request GNOME/glib!1488
This commit is contained in:
commit
f733eff2ee
@ -10,7 +10,7 @@ cache:
|
|||||||
- _ccache/
|
- _ccache/
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
FEDORA_IMAGE: "registry.gitlab.gnome.org/gnome/glib/fedora:v8"
|
FEDORA_IMAGE: "registry.gitlab.gnome.org/gnome/glib/fedora:v9"
|
||||||
DEBIAN_IMAGE: "registry.gitlab.gnome.org/gnome/glib/debian-stable:v6"
|
DEBIAN_IMAGE: "registry.gitlab.gnome.org/gnome/glib/debian-stable:v6"
|
||||||
ANDROID_IMAGE: "registry.gitlab.gnome.org/gnome/glib/android-ndk:v3"
|
ANDROID_IMAGE: "registry.gitlab.gnome.org/gnome/glib/android-ndk:v3"
|
||||||
MINGW_IMAGE: "registry.gitlab.gnome.org/gnome/glib/mingw:v2"
|
MINGW_IMAGE: "registry.gitlab.gnome.org/gnome/glib/mingw:v2"
|
||||||
|
@ -15,7 +15,8 @@ GitLab CI jobs run in a Docker image, defined here. To update that image
|
|||||||
registry
|
registry
|
||||||
* If you use 2-factor authentication on your GNOME GitLab account, you'll
|
* If you use 2-factor authentication on your GNOME GitLab account, you'll
|
||||||
need to [create a personal access token][pat] and use that rather than
|
need to [create a personal access token][pat] and use that rather than
|
||||||
your normal password
|
your normal password — the token should have `read_registry` and
|
||||||
|
`write_registry` permissions
|
||||||
1. Edit `.gitlab-ci.yml` (in the root of this repository) to use your new
|
1. Edit `.gitlab-ci.yml` (in the root of this repository) to use your new
|
||||||
image
|
image
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@ RUN dnf -y update \
|
|||||||
ninja-build \
|
ninja-build \
|
||||||
pcre-devel \
|
pcre-devel \
|
||||||
"python3-dbusmock >= 0.18.3-2" \
|
"python3-dbusmock >= 0.18.3-2" \
|
||||||
|
python3-pip \
|
||||||
python3-pygments \
|
python3-pygments \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
shared-mime-info \
|
shared-mime-info \
|
||||||
|
@ -47,7 +47,11 @@ suites = {}
|
|||||||
for line in args.infile:
|
for line in args.infile:
|
||||||
data = json.loads(line)
|
data = json.loads(line)
|
||||||
(full_suite, unit_name) = data['name'].split(' / ')
|
(full_suite, unit_name) = data['name'].split(' / ')
|
||||||
(project_name, suite_name) = full_suite.split(':')
|
try:
|
||||||
|
(project_name, suite_name) = full_suite.split(':')
|
||||||
|
except ValueError:
|
||||||
|
project_name = full_suite
|
||||||
|
suite_name = full_suite
|
||||||
|
|
||||||
duration = data['duration']
|
duration = data['duration']
|
||||||
return_code = data['returncode']
|
return_code = data['returncode']
|
||||||
|
@ -52,7 +52,7 @@ if get_option('gtk_doc')
|
|||||||
endif
|
endif
|
||||||
# Check we have the minimum gtk-doc version required. Older versions won't
|
# Check we have the minimum gtk-doc version required. Older versions won't
|
||||||
# generate correct documentation.
|
# generate correct documentation.
|
||||||
dependency('gtk-doc', version : '>=1.32',
|
dependency('gtk-doc', version : '>=1.32.1',
|
||||||
fallback : ['gtk-doc', 'dummy_dep'],
|
fallback : ['gtk-doc', 'dummy_dep'],
|
||||||
default_options : ['tests=false'])
|
default_options : ['tests=false'])
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user