mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
ci: try GitHub arm runners
Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
2a428d20ce
commit
1cab647b37
16
.github/workflows/actuated-aarch64-test.yaml
vendored
16
.github/workflows/actuated-aarch64-test.yaml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Actuated aarch64 test
|
name: aarch64 test
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
@ -11,32 +11,38 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
# Actuated runners are not available in all repositories.
|
# Actuated runners are not available in all repositories.
|
||||||
if: ${{ github.repository == 'checkpoint-restore/criu' }}
|
if: ${{ github.repository == 'checkpoint-restore/criu' }}
|
||||||
# The memory size and the number of CPUs can be freely selected.
|
# The memory size and the number of CPUs can be freely selected for
|
||||||
# 3GB and 4 CPUs seems to be enough according to the result from 'vmmeter'.
|
# the actuated runners. 3GB and 4 CPUs seems to be enough according to the
|
||||||
runs-on: actuated-arm64-4cpu-3gb
|
# result from 'vmmeter'.
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
os: [actuated-arm64-4cpu-3gb, ubuntu-24.04-arm]
|
||||||
target: [GCC=1, CLANG=1]
|
target: [GCC=1, CLANG=1]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# https://gist.github.com/alexellis/1f33e581c75e11e161fe613c46180771#file-metering-gha-md
|
# https://gist.github.com/alexellis/1f33e581c75e11e161fe613c46180771#file-metering-gha-md
|
||||||
# vmmeter start
|
# vmmeter start
|
||||||
- name: Prepare arkade
|
- name: Prepare arkade
|
||||||
|
if: ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }}
|
||||||
uses: alexellis/arkade-get@master
|
uses: alexellis/arkade-get@master
|
||||||
with:
|
with:
|
||||||
crane: latest
|
crane: latest
|
||||||
print-summary: false
|
print-summary: false
|
||||||
|
|
||||||
- name: Install vmmeter
|
- name: Install vmmeter
|
||||||
|
if: ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }}
|
||||||
run: |
|
run: |
|
||||||
crane export --platform linux/arm64 ghcr.io/openfaasltd/vmmeter:latest | sudo tar -xvf - -C /usr/local/bin
|
crane export --platform linux/arm64 ghcr.io/openfaasltd/vmmeter:latest | sudo tar -xvf - -C /usr/local/bin
|
||||||
|
|
||||||
- name: Run vmmeter
|
- name: Run vmmeter
|
||||||
|
if: ${{ matrix.os == 'actuated-arm64-4cpu-3gb' }}
|
||||||
uses: self-actuated/vmmeter-action@master
|
uses: self-actuated/vmmeter-action@master
|
||||||
# vmmeter end
|
# vmmeter end
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Run Tests ${{ matrix.target }}
|
- name: Run Tests ${{ matrix.target }}/${{ matrix.os }}
|
||||||
# Following tests are failing on the actuated VMs:
|
# Following tests are failing on the actuated VMs:
|
||||||
# ./change_mnt_context --pidfile=change_mnt_context.pid --outfile=change_mnt_context.out
|
# ./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))
|
# 45: ERR: change_mnt_context.c:23: mount (errno = 22 (Invalid argument))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user