Skip to content

Commit

Permalink
refactor build-base-remix into standalone config; delete per machine …
Browse files Browse the repository at this point in the history
…configs
  • Loading branch information
asac committed Aug 13, 2024
1 parent 7d8e32b commit fab3c4f
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 91 deletions.
11 changes: 11 additions & 0 deletions .github/configs/build-base-remix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
_source_dir: .
header:
version: 16
local_conf_header:
__menu_config_locals: ''
__menu_config_vars: |-
PVROOT_IMAGE = "yes"
PVROOT_IMAGE_BSP = "core-image-base"
EXTRA_IMAGE_FEATURES:append = "debug-tweaks"
target:
- pantavisor-remix
42 changes: 0 additions & 42 deletions .github/configs/sunxi/sunxi-orange-pi-3lts-remix-scarthgap.yaml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/configs/sunxi/sunxi-orange-pi-r1-remix-scarthgap.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/buildkas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 'Build Kas'
on:
workflow_call:
inputs:
config:
configs:
required: true
type: string

Expand All @@ -25,7 +25,7 @@ jobs:
- name: getgit
run: su - builder -c "cd $GITHUB_WORKSPACE && git fetch origin $GITHUB_SHA && git reset --hard $GITHUB_SHA && rm -rf build/ && git clean -f -f -d -x "
- name: Build Kas
run: su - builder -c "cd $GITHUB_WORKSPACE && env && kas build .github/configs/${{ inputs.config }}:.github/configs/shared-vols.yaml"
run: su - builder -c "cd $GITHUB_WORKSPACE && env && kas build .github/configs/build-base-remix.yaml:${{ inputs.configs }}:.github/configs/shared-vols.yaml"
- name: chmod
run: chmod -R 777 $GITHUB_WORKSPACE
- name: Archive image artifacts
Expand Down
22 changes: 17 additions & 5 deletions .github/workflows/onpush.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
name: 'Build Basic'
name: 'Build On Push'

on:
push:

jobs:
build-remix-sunxi-orange-pi-3lts-remix-scarthgap:
remix-sunxi-orange-pi-3lts-remix-scarthgap:
uses: ./.github/workflows/buildkas.yaml
with:
config: sunxi/sunxi-orange-pi-3lts-remix-scarthgap.yaml
build-remix-sunxi-orange-pi-r1-remix-scarthgap:
configs: kas/machines/sunxi-orange-pi-3lts.yaml:kas/bsp-base.yaml:kas/scarthgap.yaml
remix-sunxi-orange-pi-r1-remix-scarthgap:
uses: ./.github/workflows/buildkas.yaml
with:
config: sunxi/sunxi-orange-pi-r1-remix-scarthgap.yaml
configs: kas/machines/sunxi-orange-pi-r1.yaml:kas/bsp-base.yaml:kas/scarthgap.yaml
remix-sunxi-nanopi-r1-remix-scarthgap:
uses: ./.github/workflows/buildkas.yaml
with:
configs: kas/machines/sunxi-nanopi-r1.yaml:kas/bsp-base.yaml:kas/scarthgap.yaml
remix-nxp-imx8qxpc0mek-scarthgap:
uses: ./.github/workflows/buildkas.yaml
with:
configs: kas/machines/imx8qxpc0mek.yaml:kas/bsp-base.yaml:kas/scarthgap.yaml:kas/scarthgap-nxp.yaml
remix-raspberrypi-armv8-scarthgap:
uses: ./.github/workflows/buildkas.yaml
with:
configs: kas/machines/raspberrypi-armv8.yaml:kas/bsp-base.yaml:kas/scarthgap.yaml

0 comments on commit fab3c4f

Please sign in to comment.