Skip to content

Commit

Permalink
ci: try GitHub arm runners
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Reber <areber@redhat.com>
  • Loading branch information
adrianreber committed Jan 18, 2025
1 parent 27a5b9a commit 1adcb52
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/actuated-aarch64-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 1adcb52

Please sign in to comment.