[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v2 7/8] ci: add cfg to use GitLab CI to build



Added a GitLab CI config which has a lot more flexibility to allow us to
test a lot more distro configurations than Travis can and even build
test on FreeBSD.

Signed-off-by: Doug Goldstein <cardoe@xxxxxxxxxx>
---
 .gitlab-ci.yml | 164 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 164 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..1d0c6c4
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,164 @@
+stages:
+  - build
+
+centos-7-2:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/centos:7.2
+  variables:
+    CC: gcc
+    debug: n
+  script:
+    - ./scripts/travis-build
+
+centos-7-2-debug:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/centos:7.2
+  variables:
+    CC: gcc
+    debug: y
+  script:
+    - ./scripts/travis-build
+
+debian-jessie-clang:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/debian:jessie
+  variables:
+    CC: clang
+    debug: n
+  script:
+    - ./scripts/travis-build
+
+debian-jessie-clang-debug:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/debian:jessie
+  variables:
+    CC: clang
+    debug: y
+  script:
+    - ./scripts/travis-build
+
+debian-jessie-gcc:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/debian:jessie
+  variables:
+    CC: gcc
+    debug: n
+  script:
+    - ./scripts/travis-build
+
+debian-jessie-gcc-debug:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/debian:jessie
+  variables:
+    CC: gcc
+    debug: y
+  script:
+    - ./scripts/travis-build
+
+debian-stretch-clang:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/debian:stretch
+  variables:
+    CC: clang
+    debug: n
+  script:
+    - ./scripts/travis-build
+
+debian-stretch-clang-debug:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/debian:stretch
+  variables:
+    CC: clang
+    debug: y
+  script:
+    - ./scripts/travis-build
+
+debian-stretch-gcc:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/debian:stretch
+  variables:
+    CC: gcc
+    debug: n
+  script:
+    - ./scripts/travis-build
+
+debian-stretch-gcc-debug:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/debian:stretch
+  variables:
+    CC: gcc
+    debug: y
+  script:
+    - ./scripts/travis-build
+
+ubuntu-trusty-clang:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/ubuntu:trusty
+  variables:
+    CC: clang
+    debug: n
+  script:
+    - ./scripts/travis-build
+
+ubuntu-trusty-clang-debug:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/ubuntu:trusty
+  variables:
+    CC: clang
+    debug: y
+  script:
+    - ./scripts/travis-build
+
+ubuntu-trusty-gcc:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/ubuntu:trusty
+  variables:
+    CC: gcc
+    debug: n
+  script:
+    - ./scripts/travis-build
+
+ubuntu-trusty-gcc-debug:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/ubuntu:trusty
+  variables:
+    CC: gcc
+    debug: y
+  script:
+    - ./scripts/travis-build
+
+ubuntu-xenial-clang:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/ubuntu:xenial
+  variables:
+    CC: clang
+    debug: n
+  script:
+    - ./scripts/travis-build
+
+ubuntu-xenial-clang-debug:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/ubuntu:xenial
+  variables:
+    CC: clang
+    debug: y
+  script:
+    - ./scripts/travis-build
+
+ubuntu-xenial-gcc:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/ubuntu:xenial
+  variables:
+    CC: gcc
+    debug: n
+  script:
+    - ./scripts/travis-build
+
+ubuntu-xenial-gcc-debug:
+  stage: build
+  image: registry.gitlab.com/xen-project/xen/ubuntu:xenial
+  variables:
+    CC: gcc
+    debug: y
+  script:
+    - ./scripts/travis-build
-- 
git-series 0.9.1

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.