Files
xmppkgbuild/.gitea/workflows/validation.yaml
T
Mike Wilson 439f7c82e2
Validate Package Build / resolve-dependencies (pull_request) Failing after 5s
test
2026-09-29 17:54:26 -04:00

37 lines
990 B
YAML

name: Validate Package Build
on:
pull_request:
branches:
- master
types: [opened, synchronize, reopened]
jobs:
resolve-dependencies:
runs-on: ubuntu-latest
container:
image: archlinux:base-devel
steps:
- name: Install aurutils dependencies
shell: bash
run: pacman -Syu --noconfirm git sudo
- name: Create and become build user
run: |
useradd builduser -m # Create the builduser
passwd -d builduser # Delete the buildusers password
printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers # Allow the builduser passwordless sudo
# This is only temporary, for bootstrapping, until this repo itself contains aurutils and can be installed via the repo
- name: Install aurutils
shell: bash
run: |
su builduser && cd
pwd
git clone https://aur.archlinux.org/aurutils.git
cd aurutils
pwd
makepkg -si