diff mbox series

[PoCv2,14/15] travis: add Rust

Message ID 20201011203513.1621355-15-marcandre.lureau@redhat.com
State New
Headers show
Series Rust binding for QAPI (qemu-ga only, for now) | expand

Commit Message

Marc-André Lureau Oct. 11, 2020, 8:35 p.m. UTC
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 .travis.yml | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 1054ec5d29..b2835316bc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,6 +23,8 @@  addons:
   apt:
     packages:
       # Build dependencies
+      - cargo
+      - rustc
       - libaio-dev
       - libattr1-dev
       - libbrlapi-dev
@@ -71,7 +73,7 @@  env:
   global:
     - SRC_DIR=".."
     - BUILD_DIR="build"
-    - BASE_CONFIG="--disable-docs --disable-tools"
+    - BASE_CONFIG="--disable-docs --disable-tools --with-rust"
     - TEST_BUILD_CMD=""
     - TEST_CMD="make check V=1"
     # This is broadly a list of "mainline" softmmu targets which have support across the major distros
@@ -258,6 +260,8 @@  jobs:
             # Extra toolchains
             - gcc-9
             - g++-9
+            - cargo
+            - rustc
             # Build dependencies
             - libaio-dev
             - libattr1-dev
@@ -325,6 +329,8 @@  jobs:
       dist: focal
       addons:
         apt_packages:
+          - cargo
+          - rustc
           - libaio-dev
           - libattr1-dev
           - libbrlapi-dev
@@ -358,6 +364,8 @@  jobs:
       dist: focal
       addons:
         apt_packages:
+          - cargo
+          - rustc
           - libaio-dev
           - libattr1-dev
           - libbrlapi-dev
@@ -390,6 +398,8 @@  jobs:
       dist: bionic
       addons:
         apt_packages:
+          - cargo
+          - rustc
           - libaio-dev
           - libattr1-dev
           - libbrlapi-dev
@@ -432,6 +442,8 @@  jobs:
       dist: bionic
       addons:
         apt_packages:
+          - cargo
+          - rustc
           - libaio-dev
           - libattr1-dev
           - libcap-ng-dev
@@ -461,6 +473,8 @@  jobs:
       dist: bionic
       addons:
         apt_packages:
+          - cargo
+          - rustc
           - libgcrypt20-dev
           - libgnutls28-dev
       env:
@@ -472,6 +486,8 @@  jobs:
       compiler: clang
       addons:
         apt_packages:
+          - cargo
+          - rustc
           - libaio-dev
           - libattr1-dev
           - libbrlapi-dev