Compare commits

...

2 Commits

Author SHA1 Message Date
Emmanuele Bassi
aefa36a80e Initialize an out argument
Avoids a compiler error, and undefined values in an error path.
2020-01-14 15:17:06 +00:00
Emmanuele Bassi
37bd91bfa4 ci: Add a release build job
The release buildtype disables various code paths, and thus should be
tested to ensure we don't accidentally rely on side effects of debugging
code.
2020-01-14 14:56:03 +00:00
2 changed files with 24 additions and 7 deletions

View File

@@ -12,11 +12,7 @@ stages:
- subprojects/libepoxy/
- subprojects/pango/
fedora-x86_64: &fedora-x86_64-defaults
image: registry.gitlab.gnome.org/gnome/gtk/master:v8
stage: build
script:
- bash -x ./.gitlab-ci/test-docker.sh
.build-artifacts:
artifacts:
when: always
reports:
@@ -29,14 +25,35 @@ fedora-x86_64: &fedora-x86_64-defaults
- "${CI_PROJECT_DIR}/_build/report.html"
- "${CI_PROJECT_DIR}/_build/testsuite/reftests/output/*.png"
- "${CI_PROJECT_DIR}/_build/testsuite/gsk/compare/*/*.png"
.fedora-build-defaults: &fedora-build-defaults
image: registry.gitlab.gnome.org/gnome/gtk/master:v8
stage: build
script:
- bash -x ./.gitlab-ci/test-docker.sh
extends: .build-artifacts
fedora-x86_64:
<<: *fedora-build-defaults
extends: .build-artifacts
cache:
key: "$CI_JOB_NAME"
<<: *cache-paths
fedora-x86_64-staticlibs:
<<: *fedora-build-defaults
variables:
EXTRA_MESON_FLAGS: "-Ddefault_library=both"
<<: *fedora-x86_64-defaults
cache:
key: "$CI_JOB_NAME"
<<: *cache-paths
# Uncached release build
fedora-x86_64-release:
<<: *fedora-build-defaults
allow_failure: true
variables:
EXTRA_MESON_FLAGS: "-Dbuildtype=release"
.mingw-defaults: &mingw-defaults
stage: build

View File

@@ -303,7 +303,7 @@ gdk_broadway_device_surface_at_position (GdkDevice *device,
GdkModifierType *mask,
gboolean get_toplevel)
{
GdkSurface *surface;
GdkSurface *surface = NULL;
gdk_broadway_device_query_state (device, NULL, &surface, NULL, NULL, win_x, win_y, mask);