summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
08f5283)
This adds options to build all boards of a selected target and an
additional option to build the testing kernel instead of the normal
kernel. This can be used by other trigger work flows.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target:
required: true
type: string
target:
required: true
type: string
+ testing:
+ type: boolean
build_toolchain:
type: boolean
include_feeds:
build_toolchain:
type: boolean
include_feeds:
type: boolean
build_all_kmods:
type: boolean
type: boolean
build_all_kmods:
type: boolean
+ build_all_boards:
+ type: boolean
permissions:
contents: read
permissions:
contents: read
working-directory: openwrt
run: ./scripts/ext-tools.sh --tools /tools.tar
working-directory: openwrt
run: ./scripts/ext-tools.sh --tools /tools.tar
+ - name: Configure testing kernel
+ if: inputs.testing == true
+ shell: su buildbot -c "sh -e {0}"
+ working-directory: openwrt
+ run: |
+ echo CONFIG_TESTING_KERNEL=y >> .config
+
- name: Configure all kernel modules
if: inputs.build_all_kmods == true
shell: su buildbot -c "sh -e {0}"
- name: Configure all kernel modules
if: inputs.build_all_kmods == true
shell: su buildbot -c "sh -e {0}"
run: |
echo CONFIG_ALL=y >> .config
run: |
echo CONFIG_ALL=y >> .config
+ - name: Configure all boards
+ if: inputs.build_all_boards == true
+ shell: su buildbot -c "sh -e {0}"
+ working-directory: openwrt
+ run: |
+ echo CONFIG_TARGET_MULTI_PROFILE=y >> .config
+ echo CONFIG_TARGET_PER_DEVICE_ROOTFS=y >> .config
+ echo CONFIG_TARGET_ALL_PROFILES=y >> .config
+
- name: Configure external toolchain
if: inputs.build_toolchain == false
shell: su buildbot -c "sh -e {0}"
- name: Configure external toolchain
if: inputs.build_toolchain == false
shell: su buildbot -c "sh -e {0}"
target:
required: true
type: string
target:
required: true
type: string
+ testing:
+ type: boolean
permissions:
contents: read
permissions:
contents: read
working-directory: openwrt
run: ./scripts/ext-tools.sh --tools /tools.tar
working-directory: openwrt
run: ./scripts/ext-tools.sh --tools /tools.tar
+ - name: Configure testing kernel
+ if: inputs.testing == true
+ shell: su buildbot -c "sh -e {0}"
+ working-directory: openwrt
+ run: |
+ echo CONFIG_TESTING_KERNEL=y >> .config
+
- name: Configure system
shell: su buildbot -c "sh -e {0}"
working-directory: openwrt
- name: Configure system
shell: su buildbot -c "sh -e {0}"
working-directory: openwrt