2022-02-06 08:14:19 +03:00
|
|
|
on: [push, workflow_dispatch]
|
|
|
|
name: QEMU AArch64 virt
|
|
|
|
jobs:
|
|
|
|
build-image:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- name: Clone Repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: Clone Kuroko
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
repository: kuroko-lang/kuroko
|
|
|
|
path: kuroko
|
|
|
|
- name: Checkout Kuroko
|
|
|
|
run: git submodule update --init kuroko
|
|
|
|
- name: Pull Builder Image
|
|
|
|
run: docker pull toaruos/build-tools:aarch64
|
|
|
|
- name: Run Builder
|
|
|
|
run: docker run -v ${GITHUB_WORKSPACE}:/root/misaka -w /root/misaka -e LANG=C.UTF-8 -t toaruos/build-tools:aarch64 util/build-in-docker-aarch64.sh
|
2022-03-13 10:31:38 +03:00
|
|
|
- name: Upload virt Artifacts
|
2022-02-06 08:14:19 +03:00
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
2022-03-13 10:31:38 +03:00
|
|
|
name: aarch64-virt
|
2022-02-06 08:14:19 +03:00
|
|
|
path: |
|
|
|
|
misaka-kernel
|
|
|
|
ramdisk.igz
|
|
|
|
bootstub
|
2022-03-13 10:31:38 +03:00
|
|
|
- name: Upload rpi400 Artifacts
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: aarch64-rpi400
|
|
|
|
path: |
|
|
|
|
kernel8.img
|