Skip to content

Commit

Permalink
Merge pull request #262 from sergio-costas/disable-tests-and-docs-ena…
Browse files Browse the repository at this point in the history
…ble-introspection-and-vapi

Disable all tests and documentation
  • Loading branch information
kenvandine authored Jan 16, 2025
2 parents 5617ac8 + 3d2eb57 commit b58e3bc
Showing 1 changed file with 23 additions and 1 deletion.
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 @@ -395,6 +401,7 @@ parts:
- --prefix=/usr
- -Doptimization=3
- -Ddebug=true
- -Dtests=false
build-environment: *buildenv
build-packages:
- libgl1-mesa-dev
Expand All @@ -412,6 +419,9 @@ parts:
- -Doptimization=3
- -Ddebug=true
- -Dgtk_doc=disabled
- -Dintrospection=enabled
- -Ddocumentation=disabled
- -Dtests=false
build-environment: *buildenv

libpsl:
Expand All @@ -423,7 +433,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 @@ -447,6 +457,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 @@ -512,6 +525,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 @@ -817,6 +831,7 @@ parts:
- --prefix=/usr
- -Doptimization=3
- -Ddebug=true
- -Dintrospection=enabled
build-environment: *buildenv
build-packages:
- gettext
Expand Down Expand Up @@ -978,6 +993,7 @@ parts:
- -Doptimization=3
- -Ddebug=true
- -Ddocumentation=false
- -Dtests=false
build-environment: *buildenv
build-packages:
- check
Expand Down Expand Up @@ -1112,6 +1128,7 @@ parts:
- --prefix=/usr
- -Doptimization=3
- -Ddebug=true
- -Dtests=false
build-environment: *buildenv

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

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

gjs:
Expand Down Expand Up @@ -1175,6 +1195,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 @@ -1625,6 +1646,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

0 comments on commit b58e3bc

Please sign in to comment.