mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
ci: Allow origin to choose default branch for gobject-introspection
Rather than specifying the default branch explicitly, allow the origin to choose it. Specify the `--single-branch` option explicitly to make it clear the CI only needs one branch; this is however already implied by the `--depth` option so is not strictly necessary. This will help avoid breakage if gobject-introspection changes its default branch name in future. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #2348
This commit is contained in:
parent
533f377a82
commit
f551a60380
@ -170,7 +170,7 @@ installed-tests:
|
||||
# FIXME install newer gobject-introspection
|
||||
# with GMemoryMonitor support, see:
|
||||
# https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/193
|
||||
- git clone --branch master --depth 1 --no-tags https://gitlab.gnome.org/GNOME/gobject-introspection.git
|
||||
- git clone --single-branch --depth 1 --no-tags https://gitlab.gnome.org/GNOME/gobject-introspection.git
|
||||
- cd gobject-introspection
|
||||
- /usr/bin/meson _build --prefix=/usr --libdir=/usr/lib64
|
||||
- ninja -C _build
|
||||
|
Loading…
Reference in New Issue
Block a user