From 1adcb524fdf20d4f5a6a3fcb97203e58c5b12125 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Sat, 18 Jan 2025 13:43:15 +0000 Subject: [PATCH] ci: try GitHub arm runners Signed-off-by: Adrian Reber --- .github/workflows/actuated-aarch64-test.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/actuated-aarch64-test.yaml b/.github/workflows/actuated-aarch64-test.yaml index 8b0a63fc7b..56e021e9f1 100644 --- a/.github/workflows/actuated-aarch64-test.yaml +++ b/.github/workflows/actuated-aarch64-test.yaml @@ -11,32 +11,37 @@ jobs: build: # Actuated runners are not available in all repositories. if: ${{ github.repository == 'checkpoint-restore/criu' }} - # The memory size and the number of CPUs can be freely selected. - # 3GB and 4 CPUs seems to be enough according to the result from 'vmmeter'. - runs-on: actuated-arm64-4cpu-3gb + # The memory size and the number of CPUs can be freely selected for + # the actuated runners. 3GB and 4 CPUs seems to be enough according to the + # result from 'vmmeter'. + runs-on: ${{ matrix.os }} strategy: matrix: + os: [actuated-arm64-4cpu-3gb, ubuntu-24.04-arm] target: [GCC=1, CLANG=1] steps: # https://gist.github.com/alexellis/1f33e581c75e11e161fe613c46180771#file-metering-gha-md # vmmeter start - name: Prepare arkade + if: ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }} uses: alexellis/arkade-get@master with: crane: latest print-summary: false - name: Install vmmeter + if: ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }} run: | crane export --platform linux/arm64 ghcr.io/openfaasltd/vmmeter:latest | sudo tar -xvf - -C /usr/local/bin - name: Run vmmeter + if: ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }} uses: self-actuated/vmmeter-action@master # vmmeter end - uses: actions/checkout@v4 - - name: Run Tests ${{ matrix.target }} + - name: Run Tests ${{ matrix.target }}/${{ matrix.os }} # Following tests are failing on the actuated VMs: # ./change_mnt_context --pidfile=change_mnt_context.pid --outfile=change_mnt_context.out # 45: ERR: change_mnt_context.c:23: mount (errno = 22 (Invalid argument))