Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b099b2d6f | ||
|
|
61f0791c34 |
@@ -4,33 +4,22 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
types: [opened, synchronize, reopened]
|
||||
types: [opened, synchronized, reopened]
|
||||
|
||||
jobs:
|
||||
resolve-dependencies:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: archlinux:base-devel
|
||||
image: archlinux:latest
|
||||
|
||||
steps:
|
||||
- name: Install aurutils dependencies
|
||||
shell: bash
|
||||
run: pacman -Syu --noconfirm git sudo
|
||||
- name: Checkout pull request
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- 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
|
||||
- name: Install Arch tools
|
||||
shell: bash
|
||||
run: |
|
||||
su - builduser -c '
|
||||
set -e
|
||||
cd
|
||||
git clone https://aur.archlinux.org/aurutils.git
|
||||
cd aurutils
|
||||
makepkg -si --noconfirm
|
||||
'
|
||||
run: pacman -Syu --noconfirm base-devel git sudo curl
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user