# This workflow will build Python packages on every commit. name: Build archinstall on: [ push, pull_request ] jobs: deploy: runs-on: ubuntu-latest container: image: archlinux/archlinux:latest options: --privileged steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - name: Prepare arch run: | pacman-key --init pacman --noconfirm -Sy archlinux-keyring pacman --noconfirm -Syyu pacman --noconfirm -Sy python-uv python-setuptools python-pip pacman --noconfirm -Sy python-pyparted python-pydantic - name: Remove existing archinstall (if any) run: uv pip uninstall archinstall --break-system-packages --system - name: Build archinstall run: uv build --no-build-isolation --wheel - name: Install archinstall run: | uv pip install dist/*.whl --break-system-packages --system --no-build --no-deps - name: Run archinstall run: | python -V archinstall --script guided -v archinstall --script only_hd -v archinstall --script minimal -v - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 with: name: archinstall path: dist/*