Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows/python-build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/python-build.yml')
-rw-r--r--.github/workflows/python-build.yml36
1 files changed, 25 insertions, 11 deletions
diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml
index 647ad70e..483e451b 100644
--- a/.github/workflows/python-build.yml
+++ b/.github/workflows/python-build.yml
@@ -7,20 +7,34 @@ on: [ push, pull_request ]
jobs:
deploy:
runs-on: ubuntu-latest
+ container:
+ image: archlinux/archlinux:latest
+ options: --privileged
steps:
- - uses: actions/checkout@v3
- - name: Set up Python
- uses: actions/setup-python@v4
- with:
- python-version: '3.x'
- - name: Install dependencies
+ - uses: actions/checkout@v4
+ - name: Prepare arch
+ run: |
+ pacman-key --init
+ pacman --noconfirm -Sy archlinux-keyring
+ pacman --noconfirm -Syyu
+ pacman --noconfirm -Sy python-pip python-pyparted python-simple-term-menu pkgconfig gcc
+ - name: Install build dependencies
run: |
- python -m pip install --upgrade pip
- pip install build twine
+ python -m pip install --break-system-packages --upgrade pip
+ pip install --break-system-packages --upgrade build twine wheel setuptools installer
+ pip uninstall archinstall -y --break-system-packages
- name: Build archinstall
+ run: python -m build --wheel --no-isolation
+ - name: Install archinstall
+ run: python -m installer dist/*.whl
+ - name: Run archinstall
run: |
- python -m build . --wheel
- - uses: actions/upload-artifact@v3
+ python -V
+ archinstall --script guided -v
+ archinstall --script swiss -v
+ archinstall --script only_hd -v
+ archinstall --script minimal -v
+ - uses: actions/upload-artifact@v4
with:
name: archinstall
- path: dist/* \ No newline at end of file
+ path: dist/*