Compare commits
18
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
548efe62e9 | ||
|
|
8af1aeda05 | ||
|
|
69a82e2094 | ||
|
|
06021b4858 | ||
|
|
8c6568e85d | ||
|
|
439f7c82e2 | ||
|
|
89fcdf6f0b | ||
|
|
2859a996d6 | ||
|
|
9624359a7e | ||
|
|
2f9e66bf4a | ||
|
|
b80ad9b419 | ||
|
|
198833f154 | ||
|
|
92d86246cd | ||
|
|
12b92bd3c2 | ||
|
|
a44ac86eb3 | ||
|
|
bb48ec4bbe | ||
|
|
e77fee9fc3 | ||
|
|
4dfd5dcbc4 |
@@ -0,0 +1,36 @@
|
|||||||
|
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 -c '
|
||||||
|
set -e
|
||||||
|
cd
|
||||||
|
git clone https://aur.archlinux.org/aurutils.git
|
||||||
|
cd aurutils
|
||||||
|
makepkg -si --noconfirm
|
||||||
|
'
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
name: Validate Package Build
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types: [opened, edited]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
resolve-dependencies:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: archlinux:latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout pull request
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install Arch tools
|
|
||||||
shell: bash
|
|
||||||
run: pacman -Syu --noconfirm base-devel git sudo curl
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user