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:
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue