-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: templates updated by rsdk a354486
- Loading branch information
1 parent
a354486
commit 608f045
Showing
4 changed files
with
101 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
version: 2 | ||
updates: | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
- directory: "/" | ||
package-ecosystem: "github-actions" | ||
schedule: | ||
interval: "daily" | ||
version: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,50 @@ | ||
name: Build image for Release channel | ||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
|
||
GH_TOKEN: "${{ github.token }}" | ||
jobs: | ||
prepare_release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Generate rbuild changelog | ||
uses: radxa-repo/rbuild-changelog@main | ||
with: | ||
product: radxa-cm3i-io | ||
- name: Create empty release | ||
id: release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
tag_name: b${{ github.run_number }} | ||
body_path: README.md | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
target_commitish: main | ||
draft: false | ||
prerelease: true | ||
files: .changelog/changelog.md | ||
outputs: | ||
release_id: ${{ steps.release.outputs.id }} | ||
build: | ||
runs-on: ubuntu-latest | ||
needs: prepare_release | ||
needs: "prepare_release" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v4" | ||
- name: "Upload rbuild image" | ||
uses: "radxa-repo/rbuild@main" | ||
with: | ||
board: "${{ matrix.boards }}" | ||
flavor: "${{ matrix.flavors }}" | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
release-id: "${{ needs.prepare_release.outputs.release_id }}" | ||
suite: "${{ matrix.suites }}" | ||
strategy: | ||
matrix: | ||
boards: [radxa-cm3i-io] | ||
build_systems: [rbuild] | ||
distros: [debian, ubuntu] | ||
flavors: [xfce, cli] | ||
boards: | ||
- "radxa-cm3i-io" | ||
flavors: | ||
- "xfce" | ||
suites: | ||
- "bullseye" | ||
prepare_release: | ||
outputs: | ||
release_id: "${{ steps.release.outputs.id }}" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Upload rbuild image | ||
uses: radxa-repo/rbuild@main | ||
if: matrix.build_systems == 'rbuild' && matrix.distros != 'buster' | ||
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 legacy image | ||
uses: radxa-repo/rbuild@main | ||
if: matrix.build_systems == 'rbuild' && matrix.distros == 'buster' | ||
with: | ||
board: ${{ matrix.boards }} | ||
suite: ${{ matrix.distros }} | ||
flavor: ${{ matrix.flavors }} | ||
release-id: ${{ needs.prepare_release.outputs.release_id }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: "Checkout" | ||
uses: "actions/checkout@v4" | ||
- name: "Generate rbuild changelog" | ||
uses: "radxa-repo/rbuild-changelog@main" | ||
with: | ||
product: "radxa-cm3i-io" | ||
- id: "release" | ||
name: "Create empty release" | ||
uses: "softprops/action-gh-release@v2" | ||
with: | ||
body_path: "README.md" | ||
draft: false | ||
files: ".changelog/changelog.md" | ||
prerelease: true | ||
tag_name: "b${{ github.run_number }}" | ||
target_commitish: "main" | ||
token: "${{ secrets.GITHUB_TOKEN }}" | ||
name: "Build image for Release channel" | ||
"on": | ||
workflow_dispatch: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,54 @@ | ||
name: Build image for Test channel | ||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
|
||
GH_TOKEN: "${{ github.token }}" | ||
jobs: | ||
prepare_release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Generate rbuild changelog | ||
uses: radxa-repo/rbuild-changelog@main | ||
with: | ||
product: radxa-cm3i-io | ||
- name: Create empty release | ||
id: release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
tag_name: test-build-${{ github.run_number }} | ||
body: | | ||
This is a test build for internal development. | ||
Only use when specifically instructed by Radxa support. | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
target_commitish: main | ||
draft: false | ||
prerelease: true | ||
files: .changelog/changelog.md | ||
outputs: | ||
release_id: ${{ steps.release.outputs.id }} | ||
build: | ||
runs-on: ubuntu-latest | ||
needs: prepare_release | ||
needs: "prepare_release" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v4" | ||
- name: "Upload rbuild image" | ||
uses: "radxa-repo/rbuild@main" | ||
with: | ||
board: "${{ matrix.boards }}" | ||
flavor: "${{ matrix.flavors }}" | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
release-id: "${{ needs.prepare_release.outputs.release_id }}" | ||
suite: "${{ matrix.suites }}" | ||
test-repo: true | ||
timestamp: "t${{ github.run_number }}" | ||
strategy: | ||
matrix: | ||
boards: [radxa-cm3i-io] | ||
build_systems: [rbuild] | ||
distros: [debian, ubuntu] | ||
flavors: [xfce, cli] | ||
boards: | ||
- "radxa-cm3i-io" | ||
flavors: | ||
- "xfce" | ||
suites: | ||
- "bullseye" | ||
prepare_release: | ||
outputs: | ||
release_id: "${{ steps.release.outputs.id }}" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Upload rbuild image | ||
uses: radxa-repo/rbuild@main | ||
if: matrix.build_systems == 'rbuild' && matrix.distros != 'buster' | ||
with: | ||
board: ${{ matrix.boards }} | ||
distro: ${{ matrix.distros }} | ||
flavor: ${{ matrix.flavors }} | ||
release-id: ${{ needs.prepare_release.outputs.release_id }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
test-repo: true | ||
timestamp: test-build-${{ github.run_number }} | ||
- name: Upload rbuild legacy image | ||
uses: radxa-repo/rbuild@main | ||
if: matrix.build_systems == 'rbuild' && matrix.distros == 'buster' | ||
with: | ||
board: ${{ matrix.boards }} | ||
suite: ${{ matrix.distros }} | ||
flavor: ${{ matrix.flavors }} | ||
release-id: ${{ needs.prepare_release.outputs.release_id }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
test-repo: true | ||
timestamp: test-build-${{ github.run_number }} | ||
- name: "Checkout" | ||
uses: "actions/checkout@v4" | ||
- name: "Generate rbuild changelog" | ||
uses: "radxa-repo/rbuild-changelog@main" | ||
with: | ||
product: "radxa-cm3i-io" | ||
- id: "release" | ||
name: "Create empty release" | ||
uses: "softprops/action-gh-release@v2" | ||
with: | ||
body: | | ||
This is a test build for internal development. | ||
Only use when specifically instructed by Radxa support. | ||
draft: false | ||
files: ".changelog/changelog.md" | ||
prerelease: true | ||
tag_name: "test-build-${{ github.run_number }}" | ||
target_commitish: "main" | ||
token: "${{ secrets.GITHUB_TOKEN }}" | ||
name: "Build image for Test channel" | ||
"on": | ||
workflow_dispatch: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,16 @@ | ||
# Radxa CM3I IO Baseboard | ||
|
||
[![Build image for Release channel](https://github.com/radxa-build/radxa-cm3i-io/actions/workflows/build.yml/badge.svg)](https://github.com/radxa-build/radxa-cm3i-io/actions/workflows/build.yml)[![Build image for Test channel](https://github.com/radxa-build/radxa-cm3i-io/actions/workflows/test.yml/badge.svg)](https://github.com/radxa-build/radxa-cm3i-io/actions/workflows/test.yml) | ||
# Radxa CM3I IO Board | ||
[![Build image for Release channel](https://github.com/radxa-build/radxa-cm3i-io/actions/workflows/build.yml/badge.svg)](https://github.com/radxa-build/radxa-cm3i-io/actions/workflows/build.yml) [![Build image for Test channel](https://github.com/radxa-build/radxa-cm3i-io/actions/workflows/test.yml/badge.svg)](https://github.com/radxa-build/radxa-cm3i-io/actions/workflows/test.yml) | ||
|
||
## What is this? | ||
|
||
This repo is the central location for Radxa-built system images for Radxa CM3I IO Baseboard. | ||
This repo is the central location for Radxa-built system images for Radxa CM3I IO Board. | ||
|
||
## What images are provided? | ||
|
||
Currently 4 flavors are provided: | ||
|
||
- Debian Xfce: This flavor is officially supported, tested, and recommended for all users. | ||
- Debian CLI: This flavor is officially supported. This flavor is quite minimal and is intended for headless usage. We do not support desktop usage on top of this flavor. | ||
- Ubuntu Xfce: This flavor is provided as-is except for critical issues. Desktop is currently not working and we intend to fix it in a later time. This (currently broken) build is generated to catch build system issues. | ||
- Ubuntu CLI: This flavor is provided as-is except for critical issues. Users should look at Debian CLI as an alternative. | ||
|
||
Please also always use [the latest release](https://github.com/radxa-build/radxa-cm3i-io/releases/latest) instead of any pre-release / test builds. Those will not be supported. | ||
|
||
## Is there any other options? | ||
|
||
Please visit [our Wiki](https://wiki.radxa.com/Rock3/downloads) for more download options. | ||
|
||
## Help! Something doesn't work! | ||
|
||
For other questions, please first take a look at [our Wiki](https://wiki.radxa.com/Rock3), which covers the most basic usages. | ||
For other questions, please first take a look at [our Documentation](https://docs.radxa.com), 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. |