Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r committed Sep 27, 2024
1 parent 17ad356 commit 64697cd
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Athena Arch Installation

on: [push]

jobs:
install:
runs-on: ubuntu-latest
container:
image: athenaos/base-devel:latest
options: --privileged

steps:
- name: Checkout files
uses: actions/checkout@v4

- 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=20480 # Create a 20GB disk image
losetup /dev/loop0 disk.img # Attach the file as a loopback device
ls -la /dev/
ls -la /home/athena/
- name: Run the installer
run: aegis-arch config arch.json

0 comments on commit 64697cd

Please sign in to comment.