This repository has been archived on 2021-12-28. You can view files and clone it, but cannot push or open issues or pull requests.
mudbugos/.github/workflows/build-image-armhf.yml

22 lines
777 B
YAML

# FIXME: currently just builds it, eventually, should use qemu to try to run
# the image (potentially as a separate action)
name: build-image-armhf
on: [push, pull_request]
jobs:
build:
name: build
runs-on: ubuntu-20.04
steps:
- name: checkout project
uses: actions/checkout@v2
- name: build image
run: modprobe binfmt_misc && docker run --mount type=bind,source=$PWD,target=/PrawnOS
--privileged -v/dev:/dev debian:bullseye
/bin/bash /PrawnOS/tests/build-image.sh "$GITHUB_SHA" armhf Shiba
- name: publish image
uses: actions/upload-artifact@v2
with:
name: "PrawnOS-Shiba-armhf-git-${{ github.sha }}.img.xz"
path: "PrawnOS-Shiba-armhf-git-${{ github.sha }}.img.xz"