Skip to content

Test patches integration #372

Test patches integration

Test patches integration #372

name: Test patches integration
on:
push:
pull_request:
workflow_dispatch:
env:
BUILDDIR: "/tmp/build"
jobs:
test-integration:
runs-on: ubuntu-latest
container: archlinux:base-devel
steps:
- uses: actions/checkout@v3
- name: Create build user
run: |
useradd -m build
cp -vR linux /home/build/linux
chown -vR build /home/build/linux
- name: Set up pacman keyring
run: |
pacman-key --init
pacman-key --populate archlinux
mkdir -p /etc/gnupg && echo "auto-key-retrieve" >> /etc/gnupg/gpg.conf
- name: Install dependencies
run: |
pacman -Syu --noconfirm bc cpio pahole python kmod
- name: Prepare sources
shell: bash
run: |
su build bash -c "cd /home/build/linux && makepkg --nobuild"