Skip to content

Commit 1cab647

Browse files
adrianreberavagin
authored andcommitted
ci: try GitHub arm runners
Signed-off-by: Adrian Reber <[email protected]>
1 parent 2a428d2 commit 1cab647

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/actuated-aarch64-test.yaml

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Actuated aarch64 test
1+
name: aarch64 test
22

33
on: [push, pull_request]
44

@@ -11,32 +11,38 @@ jobs:
1111
build:
1212
# Actuated runners are not available in all repositories.
1313
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 }}
1718
strategy:
19+
fail-fast: false
1820
matrix:
21+
os: [actuated-arm64-4cpu-3gb, ubuntu-24.04-arm]
1922
target: [GCC=1, CLANG=1]
2023

2124
steps:
2225
# https://gist.github.com/alexellis/1f33e581c75e11e161fe613c46180771#file-metering-gha-md
2326
# vmmeter start
2427
- name: Prepare arkade
28+
if: ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }}
2529
uses: alexellis/arkade-get@master
2630
with:
2731
crane: latest
2832
print-summary: false
2933

3034
- name: Install vmmeter
35+
if: ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }}
3136
run: |
3237
crane export --platform linux/arm64 ghcr.io/openfaasltd/vmmeter:latest | sudo tar -xvf - -C /usr/local/bin
3338
3439
- name: Run vmmeter
40+
if: ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }}
3541
uses: self-actuated/vmmeter-action@master
3642
# vmmeter end
3743

3844
- uses: actions/checkout@v4
39-
- name: Run Tests ${{ matrix.target }}
45+
- name: Run Tests ${{ matrix.target }}/${{ matrix.os }}
4046
# Following tests are failing on the actuated VMs:
4147
# ./change_mnt_context --pidfile=change_mnt_context.pid --outfile=change_mnt_context.out
4248
# 45: ERR: change_mnt_context.c:23: mount (errno = 22 (Invalid argument))

0 commit comments

Comments
 (0)