From 242ae1048af5b63bbea283bf3bfea7aea7427b76 Mon Sep 17 00:00:00 2001 From: Cantibra Date: Wed, 6 May 2026 11:05:30 +0200 Subject: [PATCH] 30 --- .gitea/workflows/build copy.yml | 24 ++++++++++++++++++++++++ .gitea/workflows/build.yml | 11 +---------- .gitea/workflows/rpi-6.12.y.yml | 20 ++++---------------- .gitea/workflows/sources.yml | 3 +-- 4 files changed, 30 insertions(+), 28 deletions(-) create mode 100644 .gitea/workflows/build copy.yml diff --git a/.gitea/workflows/build copy.yml b/.gitea/workflows/build copy.yml new file mode 100644 index 0000000..1ab589f --- /dev/null +++ b/.gitea/workflows/build copy.yml @@ -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 }}" \ No newline at end of file diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 1ab589f..43c3b49 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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: | diff --git a/.gitea/workflows/rpi-6.12.y.yml b/.gitea/workflows/rpi-6.12.y.yml index 9d7db18..145086e 100644 --- a/.gitea/workflows/rpi-6.12.y.yml +++ b/.gitea/workflows/rpi-6.12.y.yml @@ -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 }} \ No newline at end of file + uses: ./.gitea/workflows/build.yml + with: + VERSION: ${{ needs.call-a.outputs.version }} \ No newline at end of file diff --git a/.gitea/workflows/sources.yml b/.gitea/workflows/sources.yml index 850a73f..2e1ef58 100644 --- a/.gitea/workflows/sources.yml +++ b/.gitea/workflows/sources.yml @@ -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]