Skip to content

System Installation Testing #10

System Installation Testing

System Installation Testing #10

Workflow file for this run

name: Athena Arch Installation
on:
workflow_dispatch:
jobs:
install:
runs-on: ubuntu-latest
container:
image: athenaos/base-devel:latest
options: --privileged
steps:
- name: Install dependencies
run: pacman -Syyu --noconfirm aegis
- name: Retrieve install configuration
run: curl -O https://raw.githubusercontent.com/Athena-OS/athena/refs/heads/main/tests/arch.json
- name: Create a raw disk image
run: |
dd if=/dev/zero of=disk.img bs=1M count=15360 # Create a 15GB disk image
if losetup -a | grep -q "/dev/loop9"; then
losetup -d /dev/loop9
fi
losetup /dev/loop9 disk.img # Attach the file as a loopback device
parted -s /dev/loop9 -- mklabel gpt
parted -s /dev/loop9 -- mkpart ESP fat32 1MiB 512MiB
parted -s /dev/loop9 -- set 1 esp on
parted -s /dev/loop9 -- mkpart primary btrfs 512MiB 100%
sed -i "s/loop0/loop9/g" arch.json
- name: Run the installer
run: aegis-arch config arch.json