Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: try GitHub arm runners #2566

Draft
wants to merge 1 commit into
base: criu-dev
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/actuated-aarch64-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,38 @@ 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:
fail-fast: false
matrix:
os: [actuated-arm64-4cpu-3gb, ubuntu-22.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
Loading