summaryrefslogtreecommitdiff
path: root/.github/actions/setup_base
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2024-03-09 16:52:59 +0000
committerGitHub <noreply@github.com>2024-03-09 16:52:59 +0000
commitc3882bb83240b602277f2d22f21d71690531f62e (patch)
treec5e9a1110cd5d22ef700fd8b7408a418cba7c4f0 /.github/actions/setup_base
parente7a5db4852d654596e554b9cdeaa2694b346ee03 (diff)
internal: Support libhyprcursor (#5009)
woo --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
Diffstat (limited to '.github/actions/setup_base')
-rw-r--r--.github/actions/setup_base/action.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/actions/setup_base/action.yml b/.github/actions/setup_base/action.yml
index 8a33dd55..8598b5a3 100644
--- a/.github/actions/setup_base/action.yml
+++ b/.github/actions/setup_base/action.yml
@@ -12,6 +12,7 @@ runs:
- name: Get required pacman pkgs
shell: bash
run: |
+ sed -i -e "1i [extra-testing]\nInclude = /etc/pacman.d/mirrorlist" "/etc/pacman.conf"
sed -i 's/SigLevel = Required DatabaseOptional/SigLevel = Optional TrustAll/' /etc/pacman.conf
pacman --noconfirm --noprogressbar -Syyu
pacman --noconfirm --noprogressbar -Sy \
@@ -51,7 +52,18 @@ runs:
wayland-protocols \
xcb-util-errors \
xcb-util-renderutil \
- xcb-util-wm
+ xcb-util-wm \
+ libzip \
+ librsvg
+
+ - name: Get hyprcursor-git
+ shell: bash
+ run: |
+ git clone https://github.com/hyprwm/hyprcursor --recursive
+ cd hyprcursor
+ cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
+ cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
+ cmake --install build
- name: Get Xorg pacman pkgs
shell: bash