ci/papr: Switch primary to libcurl, add libsoup context
authorColin Walters <walters@verbum.org>
Wed, 19 Jul 2017 13:08:41 +0000 (09:08 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 20 Jul 2017 14:01:11 +0000 (14:01 +0000)
Sometime in the next few releases I think we should make libcurl
the default.

Prep for more CI work.

Closes: #1016
Approved by: jlebon

.papr.yml
ci/build.sh

index f13eb1cf01fc357b46db64947fe3210a6bb2f274..32d2b2243f54f3f037fe91ec996388a8ced9a654 100644 (file)
--- a/.papr.yml
+++ b/.papr.yml
@@ -12,6 +12,8 @@ packages:
   - git
 
 env:
+    # At some point soon will encourage distros to use libcurl
+    CONFIGOPTS: "--with-curl --with-openssl"
     # Enable all the sanitizers for this primary build.
     # We only use -Werror=maybe-uninitialized here with a "fixed" toolchain
     CFLAGS: '-fsanitize=undefined -fsanitize-undefined-trap-on-error -fsanitize=address -O2 -Wp,-D_FORTIFY_SOURCE=2'
@@ -79,14 +81,10 @@ tests:
 inherit: true
 required: true
 
-context: f26-curl-openssl
-
-packages:
-  - pkgconfig(libcurl)
-  - pkgconfig(openssl)
+context: f26-libsoup
 
 env:
-  CONFIGOPTS: "--with-curl --with-openssl"
+  CONFIGOPTS: "--without-curl --without-openssl"
 
 tests:
   - ci/build-check.sh
index a9a8ac3fb88eaffea933a8ed6a83a126a9cdae40..2d7eb61ec8d68b873b0e1cde2eb94c423879fdd8 100755 (executable)
@@ -7,6 +7,8 @@ dn=$(dirname $0)
 . ${dn}/libbuild.sh
 
 pkg_install_builddeps ostree
+# Until this propagates farther
+pkg_install 'pkgconfig(libcurl)' 'pkgconfig(openssl)'
 pkg_install sudo which attr fuse \
     libubsan libasan libtsan PyYAML redhat-rpm-config \
     elfutils