Skip to content

Install header before kernel #355

Install header before kernel

Install header before kernel #355

Workflow file for this run

name: Build images
on:
schedule:
- cron: '0 0 * * SUN'
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- '**.md'
- .gitignore
- 'docs/**'
- 'theme/**'
- 'po/**'
- book.toml
- .github/workflows/docs.yaml
pull_request:
paths-ignore:
- '**.md'
- .gitignore
- 'docs/**'
- 'theme/**'
- 'po/**'
- book.toml
- .github/workflows/docs.yaml
jobs:
query:
runs-on: ubuntu-latest
outputs:
boards: ${{ steps.query.outputs.boards }}
suites: ${{ steps.query.outputs.suites }}
flavors: ${{ steps.query.outputs.flavors }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Query available board configs
id: query
run: |
echo "boards=$(./rbuild json boards)" >> $GITHUB_OUTPUT
echo "suites=$(./rbuild json suites)" >> $GITHUB_OUTPUT
echo "flavors=$(./rbuild json flavors)" >> $GITHUB_OUTPUT
build-rootfs:
needs: query
runs-on: ubuntu-latest
strategy:
max-parallel: 10
matrix:
boards: [ rootfs ]
suites: ${{ fromJSON(needs.query.outputs.suites )}}
flavors: ${{ fromJSON(needs.query.outputs.flavors )}}
steps:
- name: Build ${{ matrix.boards }}_${{ matrix.suites }}_${{ matrix.flavors }}
uses: radxa-repo/rbuild@main
with:
board: ${{ matrix.boards }}
suite: ${{ matrix.suites }}
flavor: ${{ matrix.flavors }}
test-repo: true
artifacts: true
build-images:
needs: [ query, build-rootfs ]
runs-on: ubuntu-latest
strategy:
max-parallel: 10
matrix:
boards: ${{ fromJSON(needs.query.outputs.boards) }}
suites: ${{ fromJSON(needs.query.outputs.suites )}}
flavors: ${{ fromJSON(needs.query.outputs.flavors )}}
exclude:
- boards: rootfs
steps:
- name: Build ${{ matrix.boards }}_${{ matrix.suites }}_${{ matrix.flavors }}
uses: radxa-repo/rbuild@main
with:
board: ${{ matrix.boards }}
suite: ${{ matrix.suites }}
flavor: ${{ matrix.flavors }}
test-repo: true
artifacts: true
prebuilt-rootfs: true