Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Build FluiddPI - RapsiOS #1002

Build FluiddPI - RapsiOS

Build FluiddPI - RapsiOS #1002

Workflow file for this run

name: Build FluiddPI - RapsiOS
on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
types: [ opened, edited ]
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
raspiosbuild:
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
run: sudo apt update; sudo apt install coreutils p7zip-full qemu-user-static zip
- name: Checkout CustomPiOS
uses: actions/checkout@v2
with:
repository: 'guysoft/CustomPiOS'
path: CustomPiOS
- name: Checkout FluiddPI Project
uses: actions/checkout@v2
with:
repository: ${{ github.repository }}
path: repository
submodules: true
- name: Download Raspberry Pi OS Source Image
run: aria2c -d repository/src/image/ --seed-time=0 https://downloads.raspberrypi.org/raspios_lite_armhf_latest.torrent
- name: Update CustomPiOS Paths
run: cd repository/src && ../../CustomPiOS/src/update-custompios-paths
- name: Build Image
run: sudo modprobe loop && cd repository/src && sudo bash -x ./build_dist
- name: Copy output image
run: cp ${{ github.workspace }}/repository/src/workspace/*-raspios-*-lite.img fluiddpi-raspios-lite-latest.img
- name: Compress the image
run: zip fluiddpi-raspios-lite-latest.zip fluiddpi-raspios-lite-latest.img
- uses: actions/upload-artifact@v1
with:
name: fluiddpi-raspios-lite-latest.zip
path: fluiddpi-raspios-lite-latest.zip