Merge pull request #106 from vaxerski/ci-archfix

Ci archfix
This commit is contained in:
vaxerski 2022-05-25 11:08:40 +02:00 committed by GitHub
commit edac77abeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,15 +19,10 @@ jobs:
useradd -m githubuser useradd -m githubuser
echo -e "root ALL=(ALL:ALL) ALL\ngithubuser ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers echo -e "root ALL=(ALL:ALL) ALL\ngithubuser ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers
- name: Get yay - name: Build wlroots
run: | run: |
su githubuser -c "cd ~ && mkdir yay && git clone https://aur.archlinux.org/yay.git" su githubuser -c "cd ~ && git clone https://gitlab.freedesktop.org/wlroots/wlroots"
chown -R githubuser /home/githubuser/yay su githubuser -c "cd ~/wlroots && meson build/ --prefix=/usr && ninja -C build/ && sudo ninja -C build/ install && cd .."
su githubuser -c "cd ~/yay && makepkg -si --noconfirm --noprogressbar"
- name: Get wlroots-git
run: |
su githubuser -c "yay -S --mflags --skipinteg --noprovides --answerclean All --answerdiff None --answeredit None --answerupgrade None wlroots-git"
- name: Fix permissions for git - name: Fix permissions for git
run: | run: |