| 1 |
gcp_credentials: ENCRYPTED[51b00226f2de108c3fa890e94efadc2d4efad2ca8d12d31794b8e8af33d1ece12c13d51dcf3cc0c0222cda3391a469b5] |
| 2 |
|
| 3 |
standard_build: &standard_build |
| 4 |
configure_script: |
| 5 |
- ${CHROOT} su build -c ./bootstrap |
| 6 |
- ${CHROOT} su build -c ./configure |
| 7 |
build_client_script: |
| 8 |
- ${CHROOT} su build -c 'make build-backup-client' |
| 9 |
build_server_script: |
| 10 |
- ${CHROOT} su build -c 'make build-backup-server' |
| 11 |
debug_tests_script: |
| 12 |
- ${CHROOT} su build -c 'make debug_tests' |
| 13 |
release_tests_script: |
| 14 |
- ${CHROOT} su build -c 'make release_tests' |
| 15 |
|
| 16 |
standard_gce_instance: &standard_gce_instance |
| 17 |
zone: europe-west2-c |
| 18 |
type: n1-standard-1 |
| 19 |
disk: 30 |
| 20 |
use_ssd: true |
| 21 |
|
| 22 |
|
| 23 |
task: |
| 24 |
matrix: |
| 25 |
- name: CentOS 7 amd64 |
| 26 |
gce_instance: |
| 27 |
<<: *standard_gce_instance |
| 28 |
image_project: centos-cloud |
| 29 |
image_name: centos-7-v20190619 |
| 30 |
- name: CentOS 8 amd64 |
| 31 |
gce_instance: |
| 32 |
<<: *standard_gce_instance |
| 33 |
image_project: centos-cloud |
| 34 |
image_family: centos-stream-8 |
| 35 |
setup_script: |
| 36 |
- yum install -y --disablerepo=google-cloud-sdk --disablerepo=google-compute-engine git autoconf automake gcc gcc-c++ zlib-devel openssl-devel libdb-devel readline-devel make libxslt perl-libwww-perl boost-devel |
| 37 |
- useradd -m build |
| 38 |
- chown -R build: . |
| 39 |
<<: *standard_build |
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
task: |
| 44 |
matrix: |
| 45 |
- name: Debian 10 i386 |
| 46 |
gce_instance: |
| 47 |
<<: *standard_gce_instance |
| 48 |
image_project: debian-cloud |
| 49 |
image_family: debian-10 |
| 50 |
setup_chroot_script: |
| 51 |
- ./infrastructure/setup-debian-chroot.sh |
| 52 |
- schroot --begin-session --session-name debian-i386 --chroot buster |
| 53 |
env: |
| 54 |
CHROOT: schroot --run-session --chroot debian-i386 --directory /tmp/cirrus-ci-build -- |
| 55 |
|
| 56 |
- name: Debian 10 amd64 |
| 57 |
gce_instance: |
| 58 |
<<: *standard_gce_instance |
| 59 |
image_project: debian-cloud |
| 60 |
image_family: debian-10 |
| 61 |
|
| 62 |
setup_script: |
| 63 |
- ${CHROOT} apt-get update |
| 64 |
- ${CHROOT} sh -c "DEBIAN_FRONTEND=noninteractive apt-get install -o Dpkg::Options::='--force-confold' -y git autoconf automake gcc g++ zlib1g-dev libssl-dev libdb-dev libreadline-dev libeditline-dev make xsltproc libwww-perl libboost-dev" |
| 65 |
- ${CHROOT} useradd -m build |
| 66 |
- ${CHROOT} chown -R build: . |
| 67 |
<<: *standard_build |
| 68 |
|
| 69 |
freebsd_gce_instance: &freebsd_gce_instance |
| 70 |
<<: *standard_gce_instance |
| 71 |
platform: FreeBSD |
| 72 |
image_project: freebsd-org-cloud-dev |
| 73 |
|
| 74 |
|
| 75 |
task: |
| 76 |
matrix: |
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
- name: FreeBSD 13.0 amd64 |
| 84 |
gce_instance: |
| 85 |
<<: *freebsd_gce_instance |
| 86 |
image_family: freebsd-13-0 |
| 87 |
- name: FreeBSD 12.3 amd64 |
| 88 |
gce_instance: |
| 89 |
<<: *freebsd_gce_instance |
| 90 |
image_family: freebsd-12-3 |
| 91 |
|
| 92 |
setup_script: |
| 93 |
- pkg install -y git autoconf automake libxslt p5-libwww boost-libs |
| 94 |
- pw useradd build -m -w none |
| 95 |
- chown -R build: . |
| 96 |
<<: *standard_build |
| 97 |
|
| 98 |
task: |
| 99 |
name: MacOS Ventura |
| 100 |
macos_instance: |
| 101 |
image: ghcr.io/cirruslabs/macos-ventura-xcode:latest |
| 102 |
env: |
| 103 |
CPPFLAGS: -I/usr/local/opt/openssl/include |
| 104 |
LDFLAGS: -L/usr/local/opt/openssl/lib |
| 105 |
setup_script: |
| 106 |
- brew install autoconf automake openssl readline |
| 107 |
|
| 108 |
configure_script: |
| 109 |
- export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include" |
| 110 |
- export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" |
| 111 |
- ./bootstrap |
| 112 |
- ./configure |
| 113 |
build_client_script: |
| 114 |
- make build-backup-client |
| 115 |
build_server_script: |
| 116 |
- make build-backup-server |
| 117 |
debug_tests_script: |
| 118 |
- make debug_tests |
| 119 |
release_tests_script: |
| 120 |
- make release_tests |
| 121 |
|
| 122 |
|
| 123 |
task: |
| 124 |
matrix: |
| 125 |
- name: Ubuntu 16.04 amd64 |
| 126 |
gce_instance: |
| 127 |
<<: *standard_gce_instance |
| 128 |
image_project: ubuntu-os-cloud |
| 129 |
image_name: ubuntu-1604-xenial-v20190617 |
| 130 |
- name: Ubuntu 18.04 amd64 |
| 131 |
gce_instance: |
| 132 |
<<: *standard_gce_instance |
| 133 |
image_project: ubuntu-os-cloud |
| 134 |
image_name: ubuntu-1804-bionic-v20190617 |
| 135 |
- name: Ubuntu 20.04 amd64 |
| 136 |
gce_instance: |
| 137 |
<<: *standard_gce_instance |
| 138 |
image_project: ubuntu-os-cloud |
| 139 |
image_family: ubuntu-2004-lts |
| 140 |
setup_script: |
| 141 |
- apt-get update |
| 142 |
- apt-get install -y git autoconf automake gcc g++ zlib1g-dev libssl-dev libdb-dev libreadline-dev libeditline-dev make xsltproc libwww-perl libboost-dev |
| 143 |
- useradd -m build |
| 144 |
- chown -R build . |
| 145 |
<<: *standard_build |
| 146 |
|
| 147 |
task: |
| 148 |
matrix: |
| 149 |
- name: Ubuntu 23.04 amd64 |
| 150 |
gce_instance: |
| 151 |
<<: *standard_gce_instance |
| 152 |
image_project: ubuntu-os-cloud |
| 153 |
image_name: ubuntu-2304-lunar-amd64-v20231020 |
| 154 |
setup_script: |
| 155 |
- apt-get update |
| 156 |
- apt-get install -y git autoconf automake gcc g++ zlib1g-dev libssl-dev libdb-dev libeditreadline-dev make xsltproc libwww-perl libboost-dev |
| 157 |
- useradd -m build |
| 158 |
- chown -R build . |
| 159 |
<<: *standard_build |