├── .github └── workflows │ ├── build.yml │ └── test.yml └── README.md /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: Build image for Release channel 2 | on: 3 | workflow_dispatch: 4 | 5 | jobs: 6 | prepare_release: 7 | runs-on: ubuntu-latest 8 | steps: 9 | - name: Checkout 10 | uses: actions/checkout@v3 11 | - name: Create empty release 12 | id: release 13 | uses: softprops/action-gh-release@v1 14 | with: 15 | tag_name: b${{ github.run_number }} 16 | body_path: README.md 17 | token: ${{ secrets.GITHUB_TOKEN }} 18 | target_commitish: main 19 | draft: false 20 | prerelease: true 21 | outputs: 22 | release_id: ${{ steps.release.outputs.id }} 23 | build: 24 | runs-on: ubuntu-latest 25 | needs: prepare_release 26 | strategy: 27 | matrix: 28 | boards: [rock-pi-4b] 29 | build_systems: [rbuild] 30 | distros: [debian, ubuntu] 31 | flavors: [kde, cli] 32 | exclude: 33 | - build_systems: debos 34 | distros: debian 35 | flavors: cli 36 | - build_systems: debos 37 | distros: ubuntu 38 | flavors: kde 39 | steps: 40 | - name: Checkout 41 | uses: actions/checkout@v3 42 | - name: Upload Armbian image 43 | uses: radxa/armbian-compile-action@main 44 | if: matrix.build_systems == 'armbian' 45 | with: 46 | board: rockpi-4b 47 | distro: ${{ matrix.distros }} 48 | flavor: ${{ matrix.flavors }} 49 | release-id: ${{ needs.prepare_release.outputs.release_id }} 50 | github-token: ${{ secrets.GITHUB_TOKEN }} 51 | - name: Upload debos-radxa image 52 | uses: radxa/debos-build-action@main 53 | if: matrix.build_systems == 'debos' 54 | with: 55 | board: rockpi-4b 56 | distro: ${{ matrix.distros }} 57 | flavor: ${{ matrix.flavors }} 58 | release-id: ${{ needs.prepare_release.outputs.release_id }} 59 | github-token: ${{ secrets.GITHUB_TOKEN }} 60 | - name: Upload rbuild image 61 | uses: radxa-repo/rbuild@main 62 | if: matrix.build_systems == 'rbuild' 63 | with: 64 | board: ${{ matrix.boards }} 65 | distro: ${{ matrix.distros }} 66 | flavor: ${{ matrix.flavors }} 67 | release-id: ${{ needs.prepare_release.outputs.release_id }} 68 | github-token: ${{ secrets.GITHUB_TOKEN }} 69 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: Build image for Test channel 2 | on: 3 | workflow_dispatch: 4 | 5 | jobs: 6 | prepare_release: 7 | runs-on: ubuntu-latest 8 | steps: 9 | - name: Checkout 10 | uses: actions/checkout@v3 11 | - name: Create empty release 12 | id: release 13 | uses: softprops/action-gh-release@v1 14 | with: 15 | tag_name: test-build-${{ github.run_number }} 16 | body: | 17 | This is a test build for internal development. 18 | Only use when specifically instructed by Radxa support. 19 | token: ${{ secrets.GITHUB_TOKEN }} 20 | target_commitish: main 21 | draft: false 22 | prerelease: true 23 | outputs: 24 | release_id: ${{ steps.release.outputs.id }} 25 | build: 26 | runs-on: ubuntu-latest 27 | needs: prepare_release 28 | strategy: 29 | matrix: 30 | boards: [rock-pi-4b] 31 | build_systems: [rbuild] 32 | distros: [debian, ubuntu] 33 | flavors: [kde, cli] 34 | exclude: 35 | - build_systems: debos 36 | distros: debian 37 | flavors: cli 38 | - build_systems: debos 39 | distros: ubuntu 40 | flavors: kde 41 | steps: 42 | - name: Checkout 43 | uses: actions/checkout@v3 44 | - name: Upload Armbian image 45 | uses: radxa/armbian-compile-action@main 46 | if: matrix.build_systems == 'armbian' 47 | with: 48 | board: rockpi-4b 49 | distro: ${{ matrix.distros }} 50 | flavor: ${{ matrix.flavors }} 51 | release-id: ${{ needs.prepare_release.outputs.release_id }} 52 | github-token: ${{ secrets.GITHUB_TOKEN }} 53 | - name: Upload debos-radxa image 54 | uses: radxa/debos-build-action@main 55 | if: matrix.build_systems == 'debos' 56 | with: 57 | board: rockpi-4b 58 | distro: ${{ matrix.distros }} 59 | flavor: ${{ matrix.flavors }} 60 | release-id: ${{ needs.prepare_release.outputs.release_id }} 61 | github-token: ${{ secrets.GITHUB_TOKEN }} 62 | - name: Upload rbuild image 63 | uses: radxa-repo/rbuild@main 64 | if: matrix.build_systems == 'rbuild' 65 | with: 66 | board: ${{ matrix.boards }} 67 | distro: ${{ matrix.distros }} 68 | flavor: ${{ matrix.flavors }} 69 | release-id: ${{ needs.prepare_release.outputs.release_id }} 70 | github-token: ${{ secrets.GITHUB_TOKEN }} 71 | test-repo: true 72 | timestamp: t${{ github.run_number }} 73 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ROCK Pi 4B 2 | [![Build](https://github.com/radxa-build/rock-pi-4b/workflows/Build/badge.svg)](https://github.com/radxa-build/rock-pi-4b/actions/workflows/build.yml) 3 | 4 | ## What is this? 5 | 6 | This repo is the central location for Radxa-built system images for ROCK Pi 4B. 7 | 8 | ## Is there any other options? 9 | 10 | Armbian users are strongly recommended to use [Armbian official image](https://www.armbian.com/rockpi4/). 11 | 12 | Manjaro users can visit [here](https://github.com/manjaro-arm/rockpi4b-images). 13 | 14 | Please visit [our Wiki](https://wiki.radxa.com/Rock4/downloads) for more download options. 15 | 16 | ## Help! Something doesn't work! 17 | 18 | For other questions, please first take a look at [our Wiki](https://wiki.radxa.com/Rock4), which covers the most basic usages. 19 | 20 | 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. 21 | --------------------------------------------------------------------------------