From 48e183608fcd8dcf5b49579dc5bab5b7b25f5223 Mon Sep 17 00:00:00 2001 From: Twig6943 <119701717+Twig6943@users.noreply.github.com> Date: Fri, 4 Jul 2025 20:30:56 +0300 Subject: [PATCH] Create actions.yml --- .github/workflows/actions.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/actions.yml diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml new file mode 100644 index 0000000..4f8de61 --- /dev/null +++ b/.github/workflows/actions.yml @@ -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'