Create actions.yml

This commit is contained in:
Twig6943 2025-07-04 20:30:56 +03:00 committed by GitHub
parent d5aafc5036
commit 48e183608f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

27
.github/workflows/actions.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Build PKGBUILD (Arch)
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container: archlinux:base-devel
steps:
- name: Update system and install dependencies
run: |
pacman -Syu --noconfirm
pacman -S --noconfirm git cmake ninja clang \
base-devel vulkan-headers spirv-headers openssl
- name: Checkout repository
uses: actions/checkout@v3
- name: Build with makepkg
run: |
useradd -m builder
chown -R builder:builder .
sudo -u builder bash -c 'makepkg -si --noconfirm'