This commit is contained in:
parent
fd28ea4fda
commit
3cf870bd95
1 changed files with 16 additions and 7 deletions
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue