diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index a22a0c2..42c1ec1 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -1,4 +1,4 @@ -name: cliper from source +name: run archlinux iso in qemu on: push: @@ -6,25 +6,18 @@ on: - main jobs: - run-cliper: + run-archlinux-iso-in-qemu: runs-on: archlinux-latest container: image: archlinux:latest steps: - - name: prepare source + - name: download iso run: | - pacman -Sy git go --noconfirm - git clone https://github.com/honakac/CLIper + pacman -Sy wget qemu-full --noconfirm + wget https://mirror.yandex.ru/archlinux/iso/2026.02.01/archlinux-2026.02.01-x86_64.iso - - name: compiling + - name: run iso run: | - cd CLIper/src - go build -o cliper - - - name: run cliper - run: | - cd CLIper/src - ./cliper append -t "Meeting" -c "Discuss project timeline" - ./cliper list \ No newline at end of file + qemu-system-x86_64 -cdrom archlinux-2026.02.01-x86_64.iso -enable-kvm -m 2048 -nographic \ No newline at end of file