Skip to content

Commit 596fdea

Browse files
committed
CI: Consolidate arm64 tests on GitHub runners
The arm64 tests are currently being executed on both actuated and GitHub runners. This change removes the actuated runner to avoid redundancy and streamline our CI process. Signed-off-by: Andrei Vagin <[email protected]>
1 parent 8449fac commit 596fdea

File tree

1 file changed

+4
-30
lines changed

1 file changed

+4
-30
lines changed

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

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,20 @@ on: [push, pull_request]
44

55
# Cancel any preceding run on the pull request.
66
concurrency:
7-
group: actuated-test-${{ github.event.pull_request.number || github.ref }}
7+
group: aarch64-test-${{ github.event.pull_request.number || github.ref }}
88
cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
99

1010
jobs:
1111
build:
12-
# Actuated runners are not available in all repositories.
13-
if: ${{ github.repository == 'checkpoint-restore/criu' }}
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 }}
12+
runs-on: ubuntu-24.04-arm
1813
strategy:
19-
fail-fast: false
2014
matrix:
21-
os: [actuated-arm64-4cpu-3gb, ubuntu-24.04-arm]
2215
target: [GCC=1, CLANG=1]
2316

2417
steps:
25-
# https://gist.github.com/alexellis/1f33e581c75e11e161fe613c46180771#file-metering-gha-md
26-
# vmmeter start
27-
- name: Prepare arkade
28-
if: ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }}
29-
uses: alexellis/arkade-get@master
30-
with:
31-
crane: latest
32-
print-summary: false
33-
34-
- name: Install vmmeter
35-
if: ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }}
36-
run: |
37-
crane export --platform linux/arm64 ghcr.io/openfaasltd/vmmeter:latest | sudo tar -xvf - -C /usr/local/bin
38-
39-
- name: Run vmmeter
40-
if: ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }}
41-
uses: self-actuated/vmmeter-action@master
42-
# vmmeter end
43-
4418
- uses: actions/checkout@v4
45-
- name: Run Tests ${{ matrix.target }}/${{ matrix.os }}
46-
# Following tests are failing on the actuated VMs:
19+
- name: Run Tests ${{ matrix.target }}
20+
# Following tests are failing on the VMs:
4721
# ./change_mnt_context --pidfile=change_mnt_context.pid --outfile=change_mnt_context.out
4822
# 45: ERR: change_mnt_context.c:23: mount (errno = 22 (Invalid argument))
4923
#

0 commit comments

Comments
 (0)