Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable all tests and documentation #262

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ parts:
- -Doptimization=3
- -Ddebug=true
- -Dgtk=disabled
- -Dtests=disabled
- -Ddemos=disabled
build-environment: *buildenv

cairo:
Expand Down Expand Up @@ -204,6 +206,7 @@ parts:
- -Doptimization=3
- -Ddebug=true
- -Dgtk_doc=false
- -Ddoctool=enabled
build-environment: *buildenv
override-build: |
set -eux
Expand Down Expand Up @@ -262,6 +265,7 @@ parts:
- -Doptimization=3
- -Ddebug=true
- -Ddocs=false
- -Dtests=false
build-environment: *buildenv

harfbuzz:
Expand All @@ -277,6 +281,8 @@ parts:
- -Dgobject=enabled
- -Doptimization=3
- -Ddebug=true
- -Dtests=disabled
- -Ddocs=disabled
- --default-library=both
build-environment: *buildenv
override-build: |
Expand Down Expand Up @@ -383,6 +389,7 @@ parts:
- --prefix=/usr
- -Doptimization=3
- -Ddebug=true
- -Dtests=false
build-environment: *buildenv
build-packages:
- libgl1-mesa-dev
Expand All @@ -400,6 +407,9 @@ parts:
- -Doptimization=3
- -Ddebug=true
- -Dgtk_doc=disabled
- -Dintrospection=enabled
- -Ddocumentation=disabled
- -Dtests=false
build-environment: *buildenv

libpsl:
Expand All @@ -411,7 +421,7 @@ parts:
meson-parameters:
- --prefix=/usr
- -Druntime=libidn2
- -Dtests=false # available in master, not in 0.21.2
- -Dtests=false
- -Doptimization=3
- -Ddebug=true
build-environment: *buildenv
Expand All @@ -435,6 +445,9 @@ parts:
- -Ddebug=true
- -Dvapi=enabled
- -Dtls_check=false #disable build time check, but we need to ensure glib-networking is available at runtime
- -Dintrospection=enabled
- -Ddocs=disabled
- -Dtests=false
build-environment: *buildenv
build-packages:
- libsqlite3-dev
Expand Down Expand Up @@ -500,6 +513,7 @@ parts:
- -Dbuiltin_immodules=yes
- -Ddemos=false
- -Dexamples=false
- -Dtests=false
build-environment: *buildenv
organize:
usr/lib/gtk-3.0: usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gtk-3.0
Expand Down Expand Up @@ -805,6 +819,7 @@ parts:
- --prefix=/usr
- -Doptimization=3
- -Ddebug=true
- -Dintrospection=enabled
build-environment: *buildenv
build-packages:
- gettext
Expand Down Expand Up @@ -961,6 +976,7 @@ parts:
- -Doptimization=3
- -Ddebug=true
- -Ddocumentation=false
- -Dtests=false
build-environment: *buildenv
build-packages:
- check
Expand Down Expand Up @@ -1095,6 +1111,7 @@ parts:
- --prefix=/usr
- -Doptimization=3
- -Ddebug=true
- -Dtests=false
build-environment: *buildenv

pygobject:
Expand All @@ -1107,6 +1124,7 @@ parts:
- --prefix=/usr
- -Doptimization=3
- -Ddebug=true
- -Dtests=false
build-environment: *buildenv

libhandy:
Expand All @@ -1123,6 +1141,8 @@ parts:
- -Dtests=false
- -Dexamples=false
- -Dglade_catalog=disabled
- -Dintrospection=enabled
- -Dvapi=true
build-environment: *buildenv

gjs:
Expand Down Expand Up @@ -1158,6 +1178,7 @@ parts:
- -Ddebug=true
- -Dhash_impl=internal
- -Dtrust_paths=/etc/ssl/certs/ca-certificates.crt
- -Dtest=false
build-packages:
- libtasn1-6-dev
build-environment: *buildenv
Expand Down Expand Up @@ -1607,6 +1628,7 @@ parts:

rm -rf root
rm -rf usr/share/doc
rm -rf usr/share/gtk-doc
rm -rf usr/share/man
rm -rf usr/libexec/*/installed-tests
rm -rf usr/libexec/installed-tests
Expand Down
Loading