Skip to content

Commit

Permalink
[DO_NOT_MERGE] [TEST] Trying ARM runners
Browse files Browse the repository at this point in the history
Signed-off-by: Aishwarya TCV <[email protected]>
  • Loading branch information
aistcv committed Mar 1, 2025
1 parent 4ce9e8d commit d644168
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/arm-platform-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Run Shrinkwrap to validate Arm platform

on:
workflow_dispatch:

jobs:
shrinkwrap:
runs-on: ubuntu-22.04-arm
container: shrinkwraptool/base-full
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Install Required System Packages
run: |
apt-get update -qq
apt-get install -y git netcat-openbsd python3 python3-pip telnet wget
- name: Install Required Python Packages
run: |
pip3 install pyyaml termcolor tuxmake
- name: Clone Shrinkwrap Repository
run: |
git clone https://git.gitlab.arm.com/tooling/shrinkwrap.git
export PATH=$PWD/shrinkwrap/shrinkwrap:$PATH
echo "Checking if Shrinkwrap is installed correctly..."
shrinkwrap --help || { echo "Shrinkwrap not found or not installed correctly"; }
cd shrinkwrap
wget "https://kciapistagingstorage1.file.core.windows.net/production/kbuild-gcc-12-arm64-kselftest-67bb89e7e3e60eeff6099cdc/Image?sv=2022-11-02&ss=f&srt=sco&sp=r&se=2026-10-18T13:36:18Z&st=2024-10-17T05:36:18Z&spr=https&sig=xFxYOOh5uXJWeN9I3YKAUvpGGQivo89HKZbD78gcxvc%3D"
wget "https://storage.kernelci.org/images/rootfs/debian/bookworm/20240715.0/arm64/rootfs.ext4.xz"
ls -l
unxz rootfs.ext4.xz
cd -
shrinkwrap -R null build --overlay=arch/v9.4.yaml ns-edk2.yaml
shrinkwrap -R null run --overlay='{"run":{"params":{"-C bp.pl011_uart0.shutdown_tag": "login:"}}}' --rtvar=KERNEL=$PWD/shrinkwrap/Image --rtvar=ROOTFS=$PWD/shrinkwrap/rootfs.ext4 --rtvar=CMDLINE="console=ttyAMA0 earlycon=pl011,0x1c090000 root=/dev/vda1 ip=dhcp acpi=force" ns-edk2.yaml

0 comments on commit d644168

Please sign in to comment.