Skip to content

Commit

Permalink
Testing priv
Browse files Browse the repository at this point in the history
  • Loading branch information
svartkanin committed Nov 29, 2023
1 parent 03c1989 commit 67c8e9f
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# 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:latest
options: --privileged
steps:
- 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 --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: |
truncate -s 20G testimage.img
losetup --partscan --show --find ./testimage.img
lsblk
- uses: actions/upload-artifact@v3
with:
name: archinstall
path: dist/*

0 comments on commit 67c8e9f

Please sign in to comment.