Skip to content

Commit

Permalink
Add rbuild support
Browse files Browse the repository at this point in the history
  • Loading branch information
RadxaYuntian committed Nov 8, 2022
1 parent 50d438d commit 735d677
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 18 deletions.
43 changes: 32 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Monthly build
on:
workflow_dispatch:
schedule:
Expand All @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Get time
id: time
uses: nanzm/[email protected]
Expand All @@ -24,32 +24,53 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
target_commitish: main
draft: false
prerelease: true
outputs:
release_id: ${{ steps.release.outputs.id }}
build:
runs-on: ubuntu-latest
needs: prepare_release
strategy:
matrix:
BOARD: [rock-5b]
DISTRO: [debos]
FLAVOR: [debian, ubuntu]
boards: [rock-5b]
build_systems: [debos, rbuild, armbian]
distros: [debian, ubuntu]
flavors: [kde, cli]
exclude:
- build_systems: debos
distros: debian
flavors: cli
- build_systems: debos
distros: ubuntu
flavors: kde
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Upload Armbian image
uses: radxa/armbian-compile-action@main
if: matrix.DISTRO == 'armbian'
if: matrix.build_systems == 'armbian'
with:
board: ${{ matrix.BOARD }}
flavor: ${{ matrix.FLAVOR }}
board: ${{ matrix.boards }}
distro: ${{ matrix.distros }}
flavor: ${{ matrix.flavors }}
kernel_branch: legacy
release-id: ${{ needs.prepare_release.outputs.release_id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload debos-radxa image
uses: radxa/debos-build-action@main
if: matrix.DISTRO == 'debos'
if: matrix.build_systems == 'debos'
with:
board: ${{ matrix.boards }}
distro: ${{ matrix.distros }}
flavor: ${{ matrix.flavors }}
release-id: ${{ needs.prepare_release.outputs.release_id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload rbuild image
uses: radxa-repo/rbuild@main
if: matrix.build_systems == 'rbuild'
with:
board: ${{ matrix.BOARD }}
flavor: ${{ matrix.FLAVOR }}
board: ${{ matrix.boards }}
distro: ${{ matrix.distros }}
flavor: ${{ matrix.flavors }}
release-id: ${{ needs.prepare_release.outputs.release_id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
32 changes: 25 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,35 @@
# ROCK 5B
[![iso_build](https://github.com/radxa-build/rock-5b/workflows/Build/badge.svg)](https://github.com/radxa-build/rock-5b/actions/workflows/build.yml)
[![Build](https://github.com/radxa-build/rock-5b/workflows/Build/badge.svg)](https://github.com/radxa-build/rock-5b/actions/workflows/build.yml)

## What is this?

A collection of auto-generated images for ROCK 5B.
This repo is the central location for Radxa-built system images for ROCK 5B.

* Radxa debos image will have name started with the board name.
Not all images are officially supported by Radxa. Some of them are only provided as-is with no warranty. Please read below for detailed explanations.

## Where can I download the image?
## What images are provided?

Built images are uploaded to [GitHub Releases](https://github.com/radxa-build/rock-5b/releases/latest).
Currently the following images are provided:
* Radxa [`debos-radxa`](https://github.com/radxa/debos-radxa) images (currently supported)
* Radxa [`rbuild`](https://github.com/radxa-repo/rbuild) images (currently testing)
* [`Armbian`](https://github.com/armbian/build) images (**Unofficial build**)

`debos-radxa` images contain the build time in the file name, while `rbuild` images have a fixed file name across releases. They have similar file name format as `rbuild` is intended to replace `debos-radxa`. Once we deem `rbuild` is production-ready we will cease to produce `debos-radxa` images to avoid confusion.

We provide **unofficial** Armbian images for evaluation purposes only. This is not a Radxa custom fork but built using unmodified upstream code. We do not support those images, and prefer to work with upstream directly to resolve the issues in their official releases.

## Is there any other options?

Armbian users are strongly recommended to use [Armbian official image](https://www.armbian.com/rock-5b/).

Please visit [our Wiki](https://wiki.radxa.com/Rock5/downloads) for more download options.

## Where can I download the Radxa image?

Every month new images are [built](https://github.com/radxa-build/rock-5b/actions/workflows/build.yml) and [published](https://github.com/radxa-build/rock-5b/releases) as pre-releases, which serve as release candidates (RC). Radxa will periodically select an RC for additional testing, and once it passes those tests, promote it as an officially supported release. This is why you are always recommended to use [the latest release](https://github.com/radxa-build/rock-5b/releases/latest).

## Help! Something doesn't work!

Please first take a look at [our Wiki](https://wiki.radxa.com/Home) which covers the most basics.
Should you have any additional question, please visit [our forum](https://rock.sh/go) or [our Discord](https://rock.sh/go), and we are willing to help.
For other questions, please first take a look at [our Wiki](https://wiki.radxa.com/Rock5), which covers the most basic usages.

Should you have any additional questions, please visit [our forum](https://forum.radxa.com/) or [our Discord](https://rock.sh/go), and we are willing to help.

0 comments on commit 735d677

Please sign in to comment.