summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-25 11:08:40 +0200
committerGitHub <noreply@github.com>2022-05-25 11:08:40 +0200
commitedac77abebb2baa10b6f608103c1da5e546cd825 (patch)
tree10a650f4d34bddca86f4d91cb32b3ea1298dfc3b
parent0ae6563fefcad255195a4cb296907c0e1732eb94 (diff)
parent86c00752b7c6810f8c9705ca3bf115c567b21c46 (diff)
Merge pull request #106 from vaxerski/ci-archfix
Ci archfix
-rw-r--r--.github/workflows/ci.yaml11
1 files changed, 3 insertions, 8 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index aaabde25..13d30e1c 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -19,15 +19,10 @@ jobs:
useradd -m githubuser
echo -e "root ALL=(ALL:ALL) ALL\ngithubuser ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers
- - name: Get yay
+ - name: Build wlroots
run: |
- su githubuser -c "cd ~ && mkdir yay && git clone https://aur.archlinux.org/yay.git"
- chown -R githubuser /home/githubuser/yay
- 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"
+ su githubuser -c "cd ~ && git clone https://gitlab.freedesktop.org/wlroots/wlroots"
+ su githubuser -c "cd ~/wlroots && meson build/ --prefix=/usr && ninja -C build/ && sudo ninja -C build/ install && cd .."
- name: Fix permissions for git
run: |