linux: rock-pi-e : fix PMIC_INT pinctrl, Ethernet port indicator, spidev0.0 issue #595
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
name: Build | |
on: | |
schedule: | |
- cron: '0 0 * * SUN' | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- .gitignore | |
- 'docs/**' | |
- 'theme/**' | |
- book.toml | |
- .github/workflows/docs.yaml | |
- container/Dockerfile | |
- .github/workflows/deploy-image.yml | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- .gitignore | |
- 'docs/**' | |
- 'theme/**' | |
- book.toml | |
- .github/workflows/docs.yaml | |
- container/Dockerfile | |
- .github/workflows/deploy-image.yml | |
jobs: | |
query: | |
runs-on: ubuntu-latest | |
outputs: | |
linux: ${{ steps.query.outputs.linux }} | |
u-boot: ${{ steps.query.outputs.u-boot }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Query available board configs | |
id: query | |
run: | | |
echo "linux=$(./bsp json profile linux)" >> $GITHUB_OUTPUT | |
echo "u-boot=$(./bsp json profile u-boot)" >> $GITHUB_OUTPUT | |
build_u-boot: | |
needs: query | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
targets: [ u-boot ] | |
profiles: ${{fromJSON(needs.query.outputs.u-boot)}} | |
steps: | |
- name: Build | |
uses: radxa-repo/bsp@main | |
with: | |
target: ${{ matrix.targets }} | |
edition: ${{ matrix.profiles }} | |
artifacts: true | |
build_linux: | |
needs: query | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
targets: [ linux ] | |
profiles: ${{fromJSON(needs.query.outputs.linux)}} | |
steps: | |
- name: Build | |
uses: radxa-repo/bsp@main | |
with: | |
target: ${{ matrix.targets }} | |
edition: ${{ matrix.profiles }} | |
artifacts: true |