Update .forgejo/workflows/test.yml
Some checks failed
run archlinux iso in qemu / run-archlinux-iso-in-qemu (push) Failing after 3m11s
Some checks failed
run archlinux iso in qemu / run-archlinux-iso-in-qemu (push) Failing after 3m11s
This commit is contained in:
parent
aa958de049
commit
64fc499409
1 changed files with 7 additions and 14 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
name: cliper from source
|
name: run archlinux iso in qemu
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
@ -6,25 +6,18 @@ on:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-cliper:
|
run-archlinux-iso-in-qemu:
|
||||||
runs-on: archlinux-latest
|
runs-on: archlinux-latest
|
||||||
container:
|
container:
|
||||||
image: archlinux:latest
|
image: archlinux:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: prepare source
|
- name: download iso
|
||||||
run: |
|
run: |
|
||||||
pacman -Sy git go --noconfirm
|
pacman -Sy wget qemu-full --noconfirm
|
||||||
git clone https://github.com/honakac/CLIper
|
wget https://mirror.yandex.ru/archlinux/iso/2026.02.01/archlinux-2026.02.01-x86_64.iso
|
||||||
|
|
||||||
- name: compiling
|
- name: run iso
|
||||||
run: |
|
run: |
|
||||||
cd CLIper/src
|
qemu-system-x86_64 -cdrom archlinux-2026.02.01-x86_64.iso -enable-kvm -m 2048 -nographic
|
||||||
go build -o cliper
|
|
||||||
|
|
||||||
- name: run cliper
|
|
||||||
run: |
|
|
||||||
cd CLIper/src
|
|
||||||
./cliper append -t "Meeting" -c "Discuss project timeline"
|
|
||||||
./cliper list
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue