]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
travis: add CI job for Hyper build
authorDaniel Stenberg <daniel@haxx.se>
Mon, 14 Dec 2020 13:10:33 +0000 (14:10 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 18 Dec 2020 08:58:04 +0000 (09:58 +0100)
.travis.yml
scripts/travis/before_script.sh

index b37ac7156db575cf1ffc360adb3d0bdb72ff3894..5c65cee891b8d0bad36f5697ae2d8c87d0d2697b 100644 (file)
@@ -113,6 +113,16 @@ jobs:
         - libpsl-dev
         - libbrotli-dev
         - libzstd-dev
+  - env:
+    - T=debug HYPER="yes" C="--with-hyper=$HOME/hyper" LD_LIBRARY_PATH=$HOME/hyper/target/debug:/usr/local/lib TFLAGS="1 to 29"
+    addons:
+      apt:
+        <<: *common_apt
+        packages:
+        - *common_packages
+        - libpsl-dev
+        - libbrotli-dev
+        - libzstd-dev
   - env:
     - T=novalgrind LIBRESSL=yes C="--with-ssl=$HOME/libressl" LD_LIBRARY_PATH=/home/travis/libressl/lib:/usr/local/lib
     - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
index 83dc1e31b90dcd95d2537f74be29e2489796c146..162bbaf4136604f72e3f330e2b654424a0254bc4 100755 (executable)
@@ -103,6 +103,15 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$LIBRESSL" ]; then
   make install
 fi
 
+if [ "$TRAVIS_OS_NAME" = linux -a "$HYPER" ]; then
+  cd $HOME
+  git clone --depth=1 -b hyper-capi https://github.com/hyperium/hyper.git
+  curl https://sh.rustup.rs -sSf | sh -s -- -y
+  source $HOME/.cargo/env
+  cd $HOME/hyper
+  cargo build -v --no-default-features --features ffi
+fi
+
 if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
   cd $HOME
   git clone --depth=1 --recursive https://github.com/cloudflare/quiche.git