Skip to content

Commit 2887e6e

Browse files
committed
CI: arm64 test
Signed-off-by: David Sterba <dsterba@suse.com>
1 parent ba2ccd6 commit 2887e6e

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

.github/workflows/ci-kvm.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
jobs:
2020
setup:
2121
if: github.ref != 'refs/heads/ci-kvm'
22-
runs-on: [self-hosted, Linux, X64]
22+
runs-on: [self-hosted, Linux, ARM64]
2323
steps:
2424
- name: Fixup permissions
2525
run: |
@@ -29,7 +29,7 @@ jobs:
2929
- name: Update package cache
3030
run: sudo apt-get update -y
3131
- name: Install build and runtime dependencies
32-
run: sudo apt-get install -y bc gawk gcc git indent make sed flex bison libelf-dev libssl-dev udev ccache virtme-ng iproute2
32+
run: sudo apt-get install -y bc gawk gcc git indent make sed flex bison libelf-dev libssl-dev udev ccache virtme-ng iproute2 qemu-system-arm
3333
- name: Set up local ccache environment
3434
run: |
3535
echo "PATH=/usr/lib64/ccache:/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
@@ -38,15 +38,15 @@ jobs:
3838
- name: Build kernel for virtme
3939
run: |
4040
vng --version
41-
vng --verbose --kconfig --config .github/workflows/kconfig.btrfs --config .github/workflows/kconfig.fstests
42-
cat .github/workflows/kconfig.btrfs .github/workflows/kconfig.fstests >> .config
41+
vng --verbose --kconfig --config .github/workflows/kconfig.btrfs --config .github/workflows/kconfig.fstests --config .github/workflows/kconfig.arm64-64k
42+
cat .github/workflows/kconfig.btrfs .github/workflows/kconfig.fstests .github/workflows/kconfig.arm64-64k >> .config
4343
scripts/config -d SOUND -d DRM -d KVM -d SQUASHFS -d PCMCIA -d PCCARD -d CARDBUS
4444
scripts/config -d ATA -d INPUT_MOUSE -d MOUSE_PS2 -d FB -d HDMI -d SND -d BPF
4545
make olddefconfig
4646
make -j 16
4747
- run: ccache -s
4848
- name: Test boot of built kernel
49-
run: sudo vng --verbose -o=-enable-kvm -- 'uname -a; echo PATH=$PATH; ulimit -a'
49+
run: sudo vng --cpus 4 --memory 4096 --verbose -o=-enable-kvm -- 'uname -a; echo PATH=$PATH; ulimit -a; getconf PAGE_SIZE'
5050

5151
test:
5252
if: github.ref != 'refs/heads/ci-kvm'
@@ -63,7 +63,7 @@ jobs:
6363
mkfs:
6464
- ""
6565
fail-fast: false
66-
runs-on: [self-hosted, Linux, X64]
66+
runs-on: [self-hosted, Linux, ARM64]
6767
steps:
6868
- name: Fixup permissions
6969
run: |
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CONFIG_ARM64_64K_PAGES=y
2+
CONFIG_HAVE_PAGE_SIZE_64KB=y
3+
CONFIG_LOCALVERSION="-64kb"
4+
CONFIG_PAGE_SHIFT=16
5+
CONFIG_PAGE_SIZE_64KB=y
6+
CONFIG_PGTABLE_LEVELS=3
7+
CONFIG_NR_CPUS=32

0 commit comments

Comments
 (0)