Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2021-04-10 17:23:53 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-10 17:32:43 -0400
commit92b8143743c1d1bb75b6f86d9bc12f0c31d1ab4a (patch)
treee4b76dc6443763fb219d43de068a93c30b6a9df0 /.github
parentb344c63f0447e2160fd356c51083e1d31638b93f (diff)
Build Arch Live ISO with Each Commit
The bind mount is probably not necessary
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/iso-build.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/iso-build.yaml b/.github/workflows/iso-build.yaml
new file mode 100644
index 00000000..a17331aa
--- /dev/null
+++ b/.github/workflows/iso-build.yaml
@@ -0,0 +1,27 @@
+# This workflow will build an Arch Linux ISO file with the commit on it
+
+name: Build Arch ISO with ArchInstall Commit
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ container:
+ image: archlinux:latest
+ options: --privileged
+ steps:
+ - uses: actions/checkout@v2
+ - run: pwd
+ - run: find .
+ - run: cat /etc/os-release
+ - run: mkdir -p /tmp/archlive/airootfs/root/archinstall-git; cp -r . /tmp/archlive/airootfs/root/archinstall-git
+ - run: pacman -Sy; pacman --noconfirm -S git archiso
+ - run: cp -r /usr/share/archiso/configs/releng/* /tmp/archlive
+ - run: echo -e "git\npython\npython-pip\npython-setuptools" >> /tmp/archlive/packages.x86_64
+ - run: find /tmp/archlive
+ - run: cd /tmp/archlive; mkarchiso -v -w work/ -o out/ ./
+ - uses: actions/upload-artifact@v2
+ with:
+ name: Arch Live ISO
+ path: /tmp/archlive/out/*.iso