Test patches integration #231
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |