-
Notifications
You must be signed in to change notification settings - Fork 489
/
.cirrus.yml
48 lines (45 loc) · 1.18 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
task:
name: Compilation Tests (arm64)
# triggered when PR to 'POLARDB_11_DEV'
# or direct push to 'POLARDB_11_DEV' or merge to 'POLARDB_11_STABLE'
only_if: |
($CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'POLARDB_11_DEV') ||
($CIRRUS_PR == '' && ($CIRRUS_BRANCH == 'POLARDB_11_DEV' || $CIRRUS_BRANCH == 'POLARDB_11_STABLE'))
# triggered when the changes are included in:
skip: |
!changesInclude(
'.cirrus.yml',
'config/**',
'contrib/**',
'external/**',
'src/**',
'configure*',
'polardb_build.sh'
)
# task run timeout
timeout_in: 120m
# run on Linux-AMD64 and Linux-ARM64 in parallel
matrix:
# Linux - ARM64
-
arm_container:
image: polardb/polardb_pg_devel:centos7
cpu: 2
memory: 8G
greedy: true
# Run OLTP/OLAP/DMA regression in parallel
matrix:
# OLAP regression
-
name: "regression (OLAP)"
script:
- |
source /etc/bashrc && \
./polardb_build.sh --withpx --noinit
# DMA regression
-
name: "regression (DMA)"
script:
- |
source /etc/bashrc && \
./polardb_build.sh --with-tde --with-dma