diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 4ce571c..76b959f 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -1,4 +1,4 @@ -name: qwq +name: compile yay on: push: @@ -6,12 +6,24 @@ on: - main jobs: - qwq: + compile-yay: runs-on: archlinux-latest container: image: archlinux:latest steps: - - name: qwq + - name: prepare run: | - du -hs / \ No newline at end of file + pacman -Sy --noconfirm base-devel go + wget https://github.com/Jguer/yay/archive/v12.5.7.tar.gz + tar -xf yay-12.5.7.tar.gz + + - name: compile yay + run: | + cd yay-12.5.7 + make VERSION=12.5.7 PREFIX="/usr" build + make VERSION=12.5.7 PREFIX="/usr" install + + - name: run yay + run: | + yay -V \ No newline at end of file