1
1
name : Daily
2
2
3
3
on :
4
+ pull_request :
5
+ branches :
6
+ # any PR to a release branch.
7
+ - ' [0-9].[0-9]'
4
8
schedule :
5
- - cron : ' 0 7 * * *'
9
+ - cron : ' 0 0 * * *'
6
10
7
11
jobs :
8
12
9
- test-jemalloc :
13
+ test-ubuntu- jemalloc :
10
14
runs-on : ubuntu-latest
11
- timeout-minutes : 1200
15
+ if : github.repository == 'redis/redis'
16
+ timeout-minutes : 14400
12
17
steps :
13
- - uses : actions/checkout@v1
18
+ - uses : actions/checkout@v2
14
19
- name : make
15
20
run : |
16
21
sudo apt-get -y install uuid-dev libcurl4-openssl-dev
@@ -21,12 +26,17 @@ jobs:
21
26
./runtest --accurate --verbose
22
27
- name : module api test
23
28
run : ./runtest-moduleapi --verbose
29
+ - name : sentinel tests
30
+ run : ./runtest-sentinel
31
+ - name : cluster tests
32
+ run : ./runtest-cluster
24
33
25
- test-libc-malloc :
34
+ test-ubuntu- libc-malloc :
26
35
runs-on : ubuntu-latest
27
- timeout-minutes : 1200
36
+ if : github.repository == 'redis/redis'
37
+ timeout-minutes : 14400
28
38
steps :
29
- - uses : actions/checkout@v1
39
+ - uses : actions/checkout@v2
30
40
- name : make
31
41
run : |
32
42
sudo apt-get -y install uuid-dev libcurl4-openssl-dev
@@ -37,11 +47,17 @@ jobs:
37
47
./runtest --accurate --verbose
38
48
- name : module api test
39
49
run : ./runtest-moduleapi --verbose
50
+ - name : sentinel tests
51
+ run : ./runtest-sentinel
52
+ - name : cluster tests
53
+ run : ./runtest-cluster
40
54
41
55
test :
42
56
runs-on : ubuntu-latest
57
+ if : github.repository == 'redis/redis'
58
+ timeout-minutes : 14400
43
59
steps :
44
- - uses : actions/checkout@v1
60
+ - uses : actions/checkout@v2
45
61
- name : make
46
62
run : |
47
63
sudo apt-get -y install uuid-dev libcurl4-openssl-dev
59
75
test-ubuntu-arm :
60
76
runs-on : [self-hosted, linux, arm]
61
77
steps :
62
- - uses : actions/checkout@v1
78
+ - uses : actions/checkout@v2
63
79
- name : make
64
80
run : |
65
81
sudo apt-get -y install uuid-dev libcurl4-openssl-dev
74
90
75
91
test-valgrind :
76
92
runs-on : ubuntu-latest
93
+ if : github.repository == 'redis/redis'
77
94
timeout-minutes : 14400
78
95
steps :
79
- - uses : actions/checkout@v1
96
+ - uses : actions/checkout@v2
80
97
- name : make
81
98
run : |
82
99
sudo apt-get -y install uuid-dev libcurl4-openssl-dev
@@ -87,3 +104,76 @@ jobs:
87
104
./runtest --valgrind --verbose --clients 1
88
105
- name : module api test
89
106
run : ./runtest-moduleapi --valgrind --verbose --clients 1
107
+
108
+ test-centos7-jemalloc :
109
+ runs-on : ubuntu-latest
110
+ if : github.repository == 'redis/redis'
111
+ container : centos:7
112
+ timeout-minutes : 14400
113
+ steps :
114
+ - uses : actions/checkout@v2
115
+ - name : make
116
+ run : |
117
+ yum -y install centos-release-scl
118
+ yum -y install devtoolset-7
119
+ scl enable devtoolset-7 "make"
120
+ - name : test
121
+ run : |
122
+ yum -y install tcl
123
+ ./runtest --accurate --verbose
124
+ - name : module api test
125
+ run : ./runtest-moduleapi --verbose
126
+ - name : sentinel tests
127
+ run : ./runtest-sentinel
128
+ - name : cluster tests
129
+ run : ./runtest-cluster
130
+
131
+ test-centos7-tls :
132
+ runs-on : ubuntu-latest
133
+ if : github.repository == 'redis/redis'
134
+ container : centos:7
135
+ timeout-minutes : 14400
136
+ steps :
137
+ - uses : actions/checkout@v2
138
+ - name : make
139
+ run : |
140
+ yum -y install centos-release-scl epel-release
141
+ yum -y install devtoolset-7 openssl-devel openssl
142
+ scl enable devtoolset-7 "make BUILD_TLS=yes"
143
+ - name : test
144
+ run : |
145
+ yum -y install tcl tcltls
146
+ ./utils/gen-test-certs.sh
147
+ ./runtest --accurate --verbose --tls
148
+ ./runtest --accurate --verbose
149
+ - name : module api test
150
+ run : |
151
+ ./runtest-moduleapi --verbose --tls
152
+ ./runtest-moduleapi --verbose
153
+ - name : sentinel tests
154
+ run : |
155
+ ./runtest-sentinel --tls
156
+ ./runtest-sentinel
157
+ - name : cluster tests
158
+ run : |
159
+ ./runtest-cluster --tls
160
+ ./runtest-cluster
161
+
162
+ test-macos-latest :
163
+ runs-on : macos-latest
164
+ if : github.repository == 'redis/redis'
165
+ timeout-minutes : 14400
166
+ steps :
167
+ - uses : actions/checkout@v2
168
+ - name : make
169
+ run : make
170
+ - name : test
171
+ run : |
172
+ ./runtest --accurate --verbose
173
+ - name : module api test
174
+ run : ./runtest-moduleapi --verbose
175
+ - name : sentinel tests
176
+ run : ./runtest-sentinel
177
+ - name : cluster tests
178
+ run : ./runtest-cluster
179
+
0 commit comments