Skip to content
Snippets Groups Projects
  1. Dec 15, 2021
    • Thomas Huth's avatar
      gitlab-ci: Add cirrus-ci based tests for NetBSD and OpenBSD · f11b0a48
      Thomas Huth authored
      
      Cirrus-CI provides KVM in their Linux containers, so we can also run
      our VM-based NetBSD and OpenBSD build jobs there.
      Since the VM installation might take a while, we only run the "help"
      target on the first invocation to avoid timeouts, and then only check
      the build during the next run, once the base image has been cached.
      For the the build tests, we also only use very a limited set of target
      CPUs since compiling in these VMs is not very fast (especially the
      build on OpenBSD seems to be incredibly slow).
      
      The jobs are marked as "manual" only, since this double-indirect setup
      (with the cirrus-run script and VMs in the Cirrus-CI containers) might
      fail more often than the other jobs, and since we can trigger a limited
      amount of Cirrus-CI jobs at a time anyway (due to the restrictions in
      the free tier of Cirrus). Thus these jobs are rather added as convenience
      for contributors who would like to run the NetBSD/OpenBSD tests without
      the need of downloading and installing the corresponding VM images on
      their local machines.
      
      Message-Id: <20211209103124.121942-1-thuth@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      f11b0a48
  2. Nov 17, 2021
  3. Nov 16, 2021
  4. Oct 12, 2021
  5. Jul 23, 2021
    • Thomas Huth's avatar
      gitlab-ci: Remove the second superfluous macos task · e90c3c3c
      Thomas Huth authored
      
      While there might have been bigger differnces between the -base and
      the -xcode images in the beginning, they almost vanished in the
      current builds, e.g. when comparing the output of the "configure"
      step after cleaning up the differences due to temporary path names,
      I only get:
      
        $ diff -u /tmp/base.txt /tmp/xcode.txt
        --- /tmp/base.txt	2021-07-16 09:16:24.211427940 +0200
        +++ /tmp/xcode.txt	2021-07-16 09:16:43.029684274 +0200
        @@ -19,14 +19,14 @@
         Build type: native build
         Project name: qemu
         Project version: 6.0.50
        -C compiler for the host machine: cc (clang 12.0.0 "Apple clang version 12.0.0 (clang-1200.0.32.29)")
        +C compiler for the host machine: cc (clang 12.0.0 "Apple clang version 12.0.0 (clang-1200.0.32.28)")
         C linker for the host machine: cc ld64 609.8
         Host machine cpu family: x86_64
         Host machine cpu: x86_64
         Program sh found: YES (/bin/sh)
         Program python3 found: YES (/usr/local/opt/python@3.9/bin/python3.9)
         Program bzip2 found: YES (/usr/bin/bzip2)
        -C++ compiler for the host machine: c++ (clang 12.0.0 "Apple clang version 12.0.0 (clang-1200.0.32.29)")
        +C++ compiler for the host machine: c++ (clang 12.0.0 "Apple clang version 12.0.0 (clang-1200.0.32.28)")
         C++ linker for the host machine: c++ ld64 609.8
         Objective-C compiler for the host machine: clang (clang 12.0.0)
         Objective-C linker for the host machine: clang ld64 609.8
      
      Since we're not using Xcode itself at all, it seems like it does not
      make much sense anymore to waste compute cycles with two images here.
      Thus let's delete the -xcode job now.
      
      [AJB: fix up commit formatting which trips up b4]
      
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarWillian Rampazzo <willianr@redhat.com>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20210719073051.1559348-1-thuth@redhat.com>
      Message-Id: <20210720232703.10650-29-alex.bennee@linaro.org>
      e90c3c3c
  6. Jul 14, 2021
    • Daniel P. Berrangé's avatar
      gitlab: support for FreeBSD 12, 13 and macOS 11 via cirrus-run · 0e103a65
      Daniel P. Berrangé authored
      This adds support for running 4 jobs via Cirrus CI runners:
      
       * FreeBSD 12
       * FreeBSD 13
       * macOS 11 with default XCode
       * macOS 11 with latest XCode
      
      The gitlab job uses a container published by the libvirt-ci
      project (https://gitlab.com/libvirt/libvirt-ci
      
      ) that contains
      the 'cirrus-run' command. This accepts a short yaml file that
      describes a single Cirrus CI job, runs it using the Cirrus CI
      REST API, and reports any output to the console.
      
      In this way Cirrus CI is effectively working as an indirect
      custom runner for GitLab CI pipelines. The key benefit is that
      Cirrus CI job results affect the GitLab CI pipeline result and
      so the user only has look at one CI dashboard.
      
      [AJB: remove $TEMPORARILY_DISABLED condition, s/py37/py38/]
      
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20210625172211.451010-3-berrange@redhat.com>
      Message-Id: <20210709143005.1554-8-alex.bennee@linaro.org>
      0e103a65
Loading