1
- name : Actuated aarch64 test
1
+ name : aarch64 test
2
2
3
3
on : [push, pull_request]
4
4
@@ -11,32 +11,38 @@ jobs:
11
11
build :
12
12
# Actuated runners are not available in all repositories.
13
13
if : ${{ github.repository == 'checkpoint-restore/criu' }}
14
- # The memory size and the number of CPUs can be freely selected.
15
- # 3GB and 4 CPUs seems to be enough according to the result from 'vmmeter'.
16
- runs-on : actuated-arm64-4cpu-3gb
14
+ # The memory size and the number of CPUs can be freely selected for
15
+ # the actuated runners. 3GB and 4 CPUs seems to be enough according to the
16
+ # result from 'vmmeter'.
17
+ runs-on : ${{ matrix.os }}
17
18
strategy :
19
+ fail-fast : false
18
20
matrix :
21
+ os : [actuated-arm64-4cpu-3gb, ubuntu-24.04-arm]
19
22
target : [GCC=1, CLANG=1]
20
23
21
24
steps :
22
25
# https://gist.github.com/alexellis/1f33e581c75e11e161fe613c46180771#file-metering-gha-md
23
26
# vmmeter start
24
27
- name : Prepare arkade
28
+ if : ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }}
25
29
uses : alexellis/arkade-get@master
26
30
with :
27
31
crane : latest
28
32
print-summary : false
29
33
30
34
- name : Install vmmeter
35
+ if : ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }}
31
36
run : |
32
37
crane export --platform linux/arm64 ghcr.io/openfaasltd/vmmeter:latest | sudo tar -xvf - -C /usr/local/bin
33
38
34
39
- name : Run vmmeter
40
+ if : ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }}
35
41
uses : self-actuated/vmmeter-action@master
36
42
# vmmeter end
37
43
38
44
- uses : actions/checkout@v4
39
- - name : Run Tests ${{ matrix.target }}
45
+ - name : Run Tests ${{ matrix.target }}/${{ matrix.os }}
40
46
# Following tests are failing on the actuated VMs:
41
47
# ./change_mnt_context --pidfile=change_mnt_context.pid --outfile=change_mnt_context.out
42
48
# 45: ERR: change_mnt_context.c:23: mount (errno = 22 (Invalid argument))
0 commit comments