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: on:
push: push:
@ -6,18 +6,27 @@ on:
- main - main
jobs: jobs:
run-floppinux-in-qemu: compile-nano:
runs-on: archlinux-latest runs-on: archlinux-latest
container: container:
image: archlinux:latest image: archlinux:latest
steps: steps:
- name: download img - name: install packages and prepare source
run: | run: |
pacman -Sy wget qemu-system-x86 --noconfirm pacman -Sy wget base-devel --noconfirm
wget https://cat.fs.tlpteam.ru/floppinux_0.1.0.img 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: | 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