-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4f5ab0
commit 9d2b0cb
Showing
3 changed files
with
74 additions
and
23 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
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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: Build image for Test channel | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
prepare_release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Create empty release | ||
id: release | ||
uses: softprops/action-gh-release@v1 | ||
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 | ||
outputs: | ||
release_id: ${{ steps.release.outputs.id }} | ||
build: | ||
runs-on: ubuntu-latest | ||
needs: prepare_release | ||
strategy: | ||
matrix: | ||
boards: [radxa-nx5-io] | ||
build_systems: [rbuild] | ||
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@v3 | ||
- name: Upload Armbian image | ||
uses: radxa/armbian-compile-action@main | ||
if: matrix.build_systems == 'armbian' | ||
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 debos-radxa image | ||
uses: radxa/debos-build-action@main | ||
if: matrix.build_systems == 'debos' | ||
with: | ||
board: radxa-nx5 | ||
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.boards }} | ||
distro: ${{ matrix.distros }} | ||
flavor: ${{ matrix.flavors }} | ||
release-id: ${{ needs.prepare_release.outputs.release_id }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
test-repo: true | ||
timestamp: t${{ github.run_number }} |
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