-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |