1
1
name : CI arm64
2
2
3
3
# github.repository has been used to ensure CI is only run on the repo where
4
- # self-hosted runners are installed. This will prevent [self-hosted, ARM64] CI failing on forks
4
+ # self-hosted runners are installed. This will prevent CI failing on forks.
5
5
6
6
on : [push, pull_request, merge_group]
7
7
env :
13
13
jobs :
14
14
Build_gcc :
15
15
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
16
- runs-on : [self-hosted, ARM64]
16
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
17
17
strategy :
18
18
fail-fast : false
19
19
matrix :
@@ -30,13 +30,13 @@ jobs:
30
30
- uses : OpenDataPlane/action-clean-up@main
31
31
- uses : actions/checkout@v4
32
32
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC=gcc
33
- -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/build_${ARCH}.sh
33
+ -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 /odp/scripts/ci/build_${ARCH}.sh
34
34
- if : ${{ failure() }}
35
35
uses : ./.github/actions/build-failure-log
36
36
37
37
Build_clang :
38
38
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
39
- runs-on : [self-hosted, ARM64]
39
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
40
40
strategy :
41
41
fail-fast : false
42
42
matrix :
@@ -53,32 +53,32 @@ jobs:
53
53
- uses : OpenDataPlane/action-clean-up@main
54
54
- uses : actions/checkout@v4
55
55
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC=clang
56
- -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/build_${ARCH}.sh
56
+ -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 /odp/scripts/ci/build_${ARCH}.sh
57
57
- if : ${{ failure() }}
58
58
uses : ./.github/actions/build-failure-log
59
59
60
- Build_static_u22 :
60
+ Build_static_u24 :
61
61
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
62
- runs-on : [self-hosted, ARM64]
62
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
63
63
env :
64
- OS : ubuntu_22 .04
64
+ OS : ubuntu_24 .04
65
65
CONF : " --disable-shared --without-openssl --without-pcap"
66
66
strategy :
67
67
fail-fast : false
68
68
matrix :
69
- cc_ver : [10, 11, 12 ]
69
+ cc_ver : [10, 14 ]
70
70
conf : ['', '--enable-lto']
71
71
steps :
72
72
- uses : OpenDataPlane/action-clean-up@main
73
73
- uses : actions/checkout@v4
74
74
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="gcc-${{matrix.cc_ver}}" -e CXX="g++-${{matrix.cc_ver}}"
75
- -e CONF="${CONF} ${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/build_static.sh
75
+ -e CONF="${CONF} ${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 /odp/scripts/ci/build_static.sh
76
76
- if : ${{ failure() }}
77
77
uses : ./.github/actions/build-failure-log
78
78
79
79
Build_OS :
80
80
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
81
- runs-on : [self-hosted, ARM64]
81
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
82
82
strategy :
83
83
fail-fast : false
84
84
matrix :
@@ -88,42 +88,42 @@ jobs:
88
88
- uses : OpenDataPlane/action-clean-up@main
89
89
- uses : actions/checkout@v4
90
90
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${{matrix.cc}}"
91
- -e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${{matrix.os}}-${ARCH}-native /odp/scripts/ci/build_${ARCH}.sh
91
+ -e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${{matrix.os}}-${ARCH}-graviton3 /odp/scripts/ci/build_${ARCH}.sh
92
92
- if : ${{ failure() }}
93
93
uses : ./.github/actions/build-failure-log
94
94
95
- Build_gcc_u22 :
95
+ Build_gcc_u24 :
96
96
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
97
- runs-on : [self-hosted, ARM64]
97
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
98
98
env :
99
- OS : ubuntu_22 .04
99
+ OS : ubuntu_24 .04
100
100
strategy :
101
101
fail-fast : false
102
102
matrix :
103
- cc_ver : [10, 11, 12, 13]
103
+ cc_ver : [10, 11, 12, 13, 14 ]
104
104
conf : ['', '--enable-abi-compat']
105
105
steps :
106
106
- uses : OpenDataPlane/action-clean-up@main
107
107
- uses : actions/checkout@v4
108
108
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="gcc-${{matrix.cc_ver}}" -e CXX="g++-${{matrix.cc_ver}}"
109
- -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/build_${ARCH}.sh
109
+ -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 /odp/scripts/ci/build_${ARCH}.sh
110
110
- if : ${{ failure() }}
111
111
uses : ./.github/actions/build-failure-log
112
112
113
113
Build_out-of-tree :
114
114
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
115
- runs-on : [self-hosted, ARM64]
115
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
116
116
steps :
117
117
- uses : OpenDataPlane/action-clean-up@main
118
118
- uses : actions/checkout@v4
119
119
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}"
120
- -e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/out_of_tree.sh
120
+ -e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 /odp/scripts/ci/out_of_tree.sh
121
121
- if : ${{ failure() }}
122
122
uses : ./.github/actions/build-failure-log
123
123
124
124
Run_distcheck :
125
125
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
126
- runs-on : [self-hosted, ARM64]
126
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
127
127
strategy :
128
128
fail-fast : false
129
129
matrix :
@@ -133,13 +133,13 @@ jobs:
133
133
- uses : actions/checkout@v4
134
134
# Ignore distcheck failure (caused by the first 'make check' run unmounting huge pages)
135
135
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${{matrix.cc}}"
136
- -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/distcheck.sh || true
136
+ -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 /odp/scripts/ci/distcheck.sh || true
137
137
- if : ${{ failure() }}
138
138
uses : ./.github/actions/run-failure-log
139
139
140
140
Run_gcc :
141
141
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
142
- runs-on : [self-hosted, ARM64]
142
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
143
143
strategy :
144
144
fail-fast : false
145
145
matrix :
@@ -155,15 +155,15 @@ jobs:
155
155
- uses : OpenDataPlane/action-clean-up@main
156
156
- uses : actions/checkout@v4
157
157
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC=gcc -e ARCH="${ARCH}"
158
- -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/check.sh
158
+ -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 /odp/scripts/ci/check.sh
159
159
- if : ${{ failure() }}
160
160
uses : ./.github/actions/run-failure-log
161
161
- if : ${{ success() }}
162
162
uses : ./.github/actions/dump-log
163
163
164
164
Run_clang :
165
165
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
166
- runs-on : [self-hosted, ARM64]
166
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
167
167
strategy :
168
168
fail-fast : false
169
169
matrix :
@@ -177,29 +177,29 @@ jobs:
177
177
- uses : OpenDataPlane/action-clean-up@main
178
178
- uses : actions/checkout@v4
179
179
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC=clang -e ARCH="${ARCH}"
180
- -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/check.sh
180
+ -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 /odp/scripts/ci/check.sh
181
181
- if : ${{ failure() }}
182
182
uses : ./.github/actions/run-failure-log
183
183
184
184
Run_CFLAGS :
185
185
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
186
- runs-on : [self-hosted, ARM64]
186
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
187
187
strategy :
188
188
fail-fast : false
189
189
matrix :
190
190
cc : [gcc, clang]
191
- cflags : ['-march=armv8.2 -a -O2', '-march=armv8.2 -a+crypto -O2']
191
+ cflags : ['-march=armv8.4 -a -O2', '-march=armv8.4 -a+crypto -O2']
192
192
steps :
193
193
- uses : OpenDataPlane/action-clean-up@main
194
194
- uses : actions/checkout@v4
195
195
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${{matrix.cc}}" -e ARCH="${ARCH}"
196
- -e CXX=g++-10 -e CFLAGS="${{matrix.cflags}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/check.sh
196
+ -e CXX=g++-10 -e CFLAGS="${{matrix.cflags}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 /odp/scripts/ci/check.sh
197
197
- if : ${{ failure() }}
198
198
uses : ./.github/actions/run-failure-log
199
199
200
200
Run_OS :
201
201
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
202
- runs-on : [self-hosted, ARM64]
202
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
203
203
strategy :
204
204
fail-fast : false
205
205
matrix :
@@ -208,73 +208,73 @@ jobs:
208
208
- uses : OpenDataPlane/action-clean-up@main
209
209
- uses : actions/checkout@v4
210
210
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}" -e ARCH="${ARCH}"
211
- -e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${{matrix.os}}-${ARCH}-native /odp/scripts/ci/check.sh
211
+ -e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${{matrix.os}}-${ARCH}-graviton3 /odp/scripts/ci/check.sh
212
212
- if : ${{ failure() }}
213
213
uses : ./.github/actions/run-failure-log
214
214
215
215
Run_sched_config :
216
216
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
217
- runs-on : [self-hosted, ARM64]
217
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
218
218
steps :
219
219
- uses : OpenDataPlane/action-clean-up@main
220
220
- uses : actions/checkout@v4
221
221
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}" -e ARCH="${ARCH}"
222
- -e CONF="${CONF}" -e ODP_CONFIG_FILE=/odp/platform/linux-dpdk/test/sched-basic.conf $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/check.sh
222
+ -e CONF="${CONF}" -e ODP_CONFIG_FILE=/odp/platform/linux-dpdk/test/sched-basic.conf $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 /odp/scripts/ci/check.sh
223
223
- if : ${{ failure() }}
224
224
uses : ./.github/actions/run-failure-log
225
225
226
226
Run_stash_config :
227
227
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
228
- runs-on : [self-hosted, ARM64]
228
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
229
229
steps :
230
230
- uses : OpenDataPlane/action-clean-up@main
231
231
- uses : actions/checkout@v4
232
232
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}" -e ARCH="${ARCH}"
233
- -e CONF="${CONF}" -e ODP_CONFIG_FILE=/odp/platform/linux-dpdk/test/stash-custom.conf $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/check.sh
233
+ -e CONF="${CONF}" -e ODP_CONFIG_FILE=/odp/platform/linux-dpdk/test/stash-custom.conf $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 /odp/scripts/ci/check.sh
234
234
- if : ${{ failure() }}
235
235
uses : ./.github/actions/run-failure-log
236
236
237
237
Run_scheduler_sp :
238
238
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
239
- runs-on : [self-hosted, ARM64]
239
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
240
240
steps :
241
241
- uses : OpenDataPlane/action-clean-up@main
242
242
- uses : actions/checkout@v4
243
243
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}" -e ARCH="${ARCH}"
244
- -e CONF="${CONF}" -e ODP_SCHEDULER=sp $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/check.sh
244
+ -e CONF="${CONF}" -e ODP_SCHEDULER=sp $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 /odp/scripts/ci/check.sh
245
245
- if : ${{ failure() }}
246
246
uses : ./.github/actions/run-failure-log
247
247
248
248
Run_process_mode :
249
249
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
250
- runs-on : [self-hosted, ARM64]
250
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
251
251
steps :
252
252
- uses : OpenDataPlane/action-clean-up@main
253
253
- uses : actions/checkout@v4
254
254
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}" -e ARCH="${ARCH}"
255
255
-e CONF="${CONF}" -e ODP_CONFIG_FILE=/odp/platform/linux-dpdk/test/process-mode.conf
256
- -e ODPH_PROC_MODE=1 $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/check.sh
256
+ -e ODPH_PROC_MODE=1 $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 /odp/scripts/ci/check.sh
257
257
- if : ${{ failure() }}
258
258
uses : ./.github/actions/run-failure-log
259
259
260
260
Run_dpdk-21_11 :
261
261
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
262
- runs-on : [self-hosted, ARM64]
262
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
263
263
steps :
264
264
- uses : OpenDataPlane/action-clean-up@main
265
265
- uses : actions/checkout@v4
266
266
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}" -e ARCH="${ARCH}"
267
- -e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native -dpdk_21.11 /odp/scripts/ci/check.sh
267
+ -e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 -dpdk_21.11 /odp/scripts/ci/check.sh
268
268
- if : ${{ failure() }}
269
269
uses : ./.github/actions/run-failure-log
270
270
271
271
Run_dpdk-23_11 :
272
272
if : ${{ github.repository == 'OpenDataPlane/odp-dpdk' }}
273
- runs-on : [self-hosted, ARM64]
273
+ runs-on : ah-ubuntu_22_04-c7g_2x-50
274
274
steps :
275
275
- uses : OpenDataPlane/action-clean-up@main
276
276
- uses : actions/checkout@v4
277
277
- run : sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}" -e ARCH="${ARCH}"
278
- -e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native -dpdk_23.11 /odp/scripts/ci/check.sh
278
+ -e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-graviton3 -dpdk_23.11 /odp/scripts/ci/check.sh
279
279
- if : ${{ failure() }}
280
280
uses : ./.github/actions/run-failure-log
0 commit comments