Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileYzn authored Sep 11, 2024
1 parent ab4def7 commit 8ff83bd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ jobs:
- name: Install base packages
run: yes | pacman --noconfirm --needed -S git base-devel wget unzip lib32-gcc-libs lib32-glibc

- name: Install AUR Helper (PARU)
- name: Install AUR Helper (YAY)
run: |
mkdir -p /tmp/paru-build
mkdir -p /tmp/yay-build
useradd -m -G wheel builder && passwd -d builder
chown -R builder:builder /tmp/paru-build
chown -R builder:builder /tmp/yay-build
echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
su - builder -c "git clone https://aur.archlinux.org/paru.git /tmp/paru-build/paru"
su - builder -c "cd /tmp/paru-build/paru && makepkg -si --noconfirm"
rm -rf /tmp/paru-build
su - builder -c "git clone https://aur.archlinux.org/yay.git /tmp/yay-build/yay"
su - builder -c "cd /tmp/yay-build/yay && makepkg -si --noconfirm --log"
rm -rf /tmp/yay-build
- name: Install GCC 4.9
run: |
su - builder -c "yes | paru --noconfirm --needed -S gcc49"
su - builder -c "yes | yay --noconfirm --quiet --needed -S gcc49"
- name: Run build
working-directory: ./MatchBot
Expand Down

0 comments on commit 8ff83bd

Please sign in to comment.