mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 15:14:17 +00:00
Merge branch 'ci-clang-build' into 'main'
ci: Add a clang build See merge request GNOME/gtk!5987
This commit is contained in:
commit
cd9c277820
@ -123,6 +123,26 @@ release-build:
|
||||
- LD_LIBRARY_PATH=${CI_PROJECT_DIR}/_install/lib64 meson compile -C _build_hello
|
||||
- .gitlab-ci/run-tests.sh _build x11
|
||||
|
||||
fedora-clang:
|
||||
extends: .build-fedora-default
|
||||
stage: build
|
||||
needs: []
|
||||
variables:
|
||||
EXTRA_MESON_FLAGS: "--buildtype=release"
|
||||
script:
|
||||
- .gitlab-ci/show-info-linux.sh
|
||||
- export PATH="$HOME/.local/bin:$PATH"
|
||||
- export CC=clang
|
||||
- meson subprojects download
|
||||
- meson subprojects update --reset
|
||||
- meson setup
|
||||
${COMMON_MESON_FLAGS}
|
||||
${EXTRA_MESON_FLAGS}
|
||||
${BACKEND_FLAGS}
|
||||
${FEATURE_FLAGS}
|
||||
_build
|
||||
- meson compile -C _build
|
||||
|
||||
fedora-mingw64:
|
||||
extends: .build-fedora-default
|
||||
stage: build
|
||||
|
@ -88,7 +88,7 @@ gsk_gl_texture_library_real_compact (GskGLTextureLibrary *self,
|
||||
GskGLTextureAtlasEntry *entry;
|
||||
GHashTableIter iter;
|
||||
guint dropped = 0;
|
||||
guint atlased = 0;
|
||||
G_GNUC_UNUSED guint atlased = 0;
|
||||
|
||||
g_hash_table_iter_init (&iter, self->hash_table);
|
||||
while (g_hash_table_iter_next (&iter, NULL, (gpointer *)&entry))
|
||||
|
@ -450,7 +450,7 @@ gsk_vulkan_glyph_cache_begin_frame (GskVulkanGlyphCache *cache)
|
||||
GHashTableIter iter;
|
||||
GlyphCacheKey *key;
|
||||
GskVulkanCachedGlyph *value;
|
||||
guint dropped = 0;
|
||||
G_GNUC_UNUSED guint dropped = 0;
|
||||
|
||||
cache->timestamp++;
|
||||
|
||||
|
@ -96,9 +96,9 @@ struct _GtkCupsRequest
|
||||
char *password;
|
||||
char *username;
|
||||
|
||||
int own_http : 1;
|
||||
int need_password : 1;
|
||||
int need_auth_info : 1;
|
||||
unsigned int own_http : 1;
|
||||
unsigned int need_password : 1;
|
||||
unsigned int need_auth_info : 1;
|
||||
char **auth_info_required;
|
||||
char **auth_info;
|
||||
GtkCupsPasswordState password_state;
|
||||
|
Loading…
Reference in New Issue
Block a user