Skip to content

Compile with clang 17 #230

Compile with clang 17

Compile with clang 17 #230

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 clang llvm lld
- name: Prepare sources
shell: bash
run: |
su build bash -c "cd /home/build/linux && makepkg --nobuild"