compile nano
Some checks failed
compile nano / compile-nano (push) Failing after 2m29s

This commit is contained in:
catmpeg 2026-02-19 17:39:40 +03:00
commit 3cf870bd95

View file

@ -1,4 +1,4 @@
name: run floppinux in qemu
name: compile nano
on:
push:
@ -6,18 +6,27 @@ on:
- main
jobs:
run-floppinux-in-qemu:
compile-nano:
runs-on: archlinux-latest
container:
image: archlinux:latest
steps:
- name: download img
- name: install packages and prepare source
run: |
pacman -Sy wget qemu-system-x86 --noconfirm
wget https://cat.fs.tlpteam.ru/floppinux_0.1.0.img
pacman -Sy wget base-devel --noconfirm
wget https://www.nano-editor.org/dist/v8/nano-8.6.tar.xz
tar -xvf nano-8.6.tar.xz
- name: run img
- name: compile nano
run: |
qemu-system-x86_64 -fda floppinux_0.1.0.img -m 50 -nographic
cd nano-8.6
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-utf8
make -j$(nproc)
make install
- name: run nano
run: nano