Extending JSON generation to support build matrix(es)

Description

./compile.sh json-info

throws out “everything” and currently does not accept any parameters.

To support Github Action build matrix, we would need to extract various combinations in JSON format with field names as below and possibility for various filtering including BOARD with regular expression or glob - to generate a list of all BOARDS=banana* …

Kernel compilation:
https://github.com/armbian/cache-kernel
all BRANCH=${{env.BRANCH}}" "BOARD=${{env.BOARD}}"

U-boot compilation:

https://github.com/armbian/cache-uboot

all BRANCH=${{env.BRANCH}}" "BOARD=${{env.BOARD}}"

Images:
https://github.com/armbian/os
all

BOARD="${{env.BOARD}}" BRANCH="${{env.BRANCH}}" RELEASE="${{env.RELEASE}}" BUILD_MINIMAL="${BUILD_MINIMAL}" BUILD_DESKTOP="${BUILD_DESKTOP}" DESKTOP_APPGROUPS_SELECTED="${{env.APP_GROUP}}" DESKTOP_ENVIRONMENT="${{ env.DESKTOP }}" DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base

Checklist

hide

Activity

Show:
Done

Details

Assignee

Fix versions

Reporter

Components

Labels

Sprint

Priority

Created March 20, 2023 at 1:03 PM
Updated May 2, 2023 at 2:09 PM
Resolved May 2, 2023 at 2:09 PM