30
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: Raspberry Pi Linux Kernel [Build]
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
VERSION:
|
||||
required: true
|
||||
type: string
|
||||
jobs:
|
||||
job:
|
||||
name: Raspberry Pi Linux Build
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- kernel: bcm2711_defconfig
|
||||
runner: cicd.bookworm
|
||||
- kernel: bcm2712_defconfig
|
||||
runner: cicd.bookworm
|
||||
- kernel: bcm2712_pve_defconfig
|
||||
runner: cicd.bookworm
|
||||
runs-on: ${{ matrix.runner }}
|
||||
steps:
|
||||
- name: Repository [Clone]
|
||||
run: |
|
||||
/usr/bin/echo "${{ inputs.version }}"
|
||||
@@ -8,16 +8,7 @@ on:
|
||||
jobs:
|
||||
job:
|
||||
name: Raspberry Pi Linux Build
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- kernel: bcm2711_defconfig
|
||||
runner: cicd.bookworm
|
||||
- kernel: bcm2712_defconfig
|
||||
runner: cicd.bookworm
|
||||
- kernel: bcm2712_pve_defconfig
|
||||
runner: cicd.bookworm
|
||||
runs-on: ${{ matrix.runner }}
|
||||
runs-on: cicd.any
|
||||
steps:
|
||||
- name: Repository [Clone]
|
||||
run: |
|
||||
|
||||
@@ -10,21 +10,9 @@ jobs:
|
||||
uses: ./.gitea/workflows/sources.yml
|
||||
with:
|
||||
BRANCH: ${{ env.branch }}
|
||||
outputs:
|
||||
VERSION: ${{ jobs.sources.outputs.version }}
|
||||
echo:
|
||||
runs-on: cicd.any
|
||||
build:
|
||||
needs:
|
||||
- sources
|
||||
steps:
|
||||
- name: Linux Sources [Clone]
|
||||
env:
|
||||
VERSION: ${{ jobs.sources.outputs.version }}
|
||||
run: |
|
||||
echo "${VERSION}"
|
||||
# build:
|
||||
# needs:
|
||||
# - sources
|
||||
# uses: ./.gitea/workflows/build.yml
|
||||
# with:
|
||||
# VERSION: ${{ needs.sources.outputs.version }}
|
||||
uses: ./.gitea/workflows/build.yml
|
||||
with:
|
||||
VERSION: ${{ needs.call-a.outputs.version }}
|
||||
@@ -15,11 +15,10 @@ jobs:
|
||||
# - name: Linux Sources [Clone]
|
||||
# run: |
|
||||
# /usr/bin/git clone --verbose --depth='1' --branch "${{ inputs.branch }}" 'https://github.com/raspberrypi/linux'
|
||||
- name: Linux Sources [Version]
|
||||
- name: Environment
|
||||
id: environment
|
||||
run: |
|
||||
VERSION='6.12.16'
|
||||
/usr/bin/echo "::set-output name=version::${VERSION}"
|
||||
/usr/bin/echo "VERSION=${VERSION}" >> "${GITHUB_OUTPUT}"
|
||||
/usr/bin/echo "Set Variable 'VERSION' to '${VERSION}'"
|
||||
# - name: Linux Sources [Archive]
|
||||
|
||||
Reference in New Issue
Block a user