42
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Linux Sources [Clone]
|
- name: Linux Sources [Clone]
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/git clone --verbose --depth='1' --branch "${{ inputs.branch }}" 'https://github.com/raspberrypi/linux'
|
/usr/bin/git clone --verbose --depth='1' --branch "${{ env.branch }}" 'https://github.com/raspberrypi/linux'
|
||||||
- name: Environment
|
- name: Environment
|
||||||
id: environment
|
id: environment
|
||||||
run: |
|
run: |
|
||||||
@@ -69,7 +69,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
DEFCONFIG: ${{ matrix.defconfig }}
|
DEFCONFIG: ${{ matrix.defconfig }}
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/mv --verbose "./config/${{ matrix.defconfig }}-${{ inputs.branch }}" "./linux-sources/arch/arm64/configs/${DEFCONFIG%%-*}"
|
/usr/bin/mv --verbose "./config/${{ matrix.defconfig }}-${{ env.branch }}" "./linux-sources/arch/arm64/configs/${DEFCONFIG%%-*}"
|
||||||
- name: Linux Sources [Configuration]
|
- name: Linux Sources [Configuration]
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/make --directory='./linux-sources' --jobs="${{ steps.environment.outputs.units }}" CC="${{ matrix.gcc }}" "${{ matrix.defconfig }}"
|
/usr/bin/make --directory='./linux-sources' --jobs="${{ steps.environment.outputs.units }}" CC="${{ matrix.gcc }}" "${{ matrix.defconfig }}"
|
||||||
@@ -123,7 +123,7 @@ jobs:
|
|||||||
overwrite: true
|
overwrite: true
|
||||||
archive: false
|
archive: false
|
||||||
- name: Linux Image Meta [Build]
|
- name: Linux Image Meta [Build]
|
||||||
if: inputs.meta == 'true'
|
if: env.meta == 'true'
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/mv --verbose './linux-image-meta' "./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}"
|
/usr/bin/mv --verbose './linux-image-meta' "./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}"
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_CODENAME/${{ matrix.codename }}/g" "./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression="s/CICD_CODENAME/${{ matrix.codename }}/g" "./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
||||||
@@ -131,11 +131,11 @@ jobs:
|
|||||||
/usr/bin/sed --in-place --expression="s/CICD_REVISION/${{ matrix.revision }}/g" "./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression="s/CICD_REVISION/${{ matrix.revision }}/g" "./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_VERSION/${{ needs.sources.outputs.version }}/g" "./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression="s/CICD_VERSION/${{ needs.sources.outputs.version }}/g" "./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
||||||
- name: Linux Image Meta [Archive]
|
- name: Linux Image Meta [Archive]
|
||||||
if: inputs.meta == 'true'
|
if: env.meta == 'true'
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/tar --create --directory="./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}" --file="./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz" --gzip '.' --verbose
|
/usr/bin/tar --create --directory="./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}" --file="./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz" --gzip '.' --verbose
|
||||||
- name: Linux Image Meta [Artifact Upload]
|
- name: Linux Image Meta [Artifact Upload]
|
||||||
if: inputs.meta == 'true'
|
if: env.meta == 'true'
|
||||||
uses: christopherhx/gitea-upload-artifact@v7
|
uses: christopherhx/gitea-upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz
|
name: linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz
|
||||||
@@ -170,7 +170,7 @@ jobs:
|
|||||||
overwrite: true
|
overwrite: true
|
||||||
archive: false
|
archive: false
|
||||||
- name: Linux Headers Meta [Build]
|
- name: Linux Headers Meta [Build]
|
||||||
if: inputs.meta == 'true'
|
if: env.meta == 'true'
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/mv --verbose './linux-headers-meta' "./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}"
|
/usr/bin/mv --verbose './linux-headers-meta' "./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}"
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_CODENAME/${{ matrix.codename }}/g" "./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression="s/CICD_CODENAME/${{ matrix.codename }}/g" "./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
||||||
@@ -178,11 +178,11 @@ jobs:
|
|||||||
/usr/bin/sed --in-place --expression="s/CICD_REVISION/${{ matrix.revision }}/g" "./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression="s/CICD_REVISION/${{ matrix.revision }}/g" "./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_VERSION/${{ needs.sources.outputs.version }}/g" "./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression="s/CICD_VERSION/${{ needs.sources.outputs.version }}/g" "./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
||||||
- name: Linux Headers Meta [Archive]
|
- name: Linux Headers Meta [Archive]
|
||||||
if: inputs.meta == 'true'
|
if: env.meta == 'true'
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/tar --create --directory="./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}" --file="./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz" --gzip '.' --verbose
|
/usr/bin/tar --create --directory="./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}" --file="./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz" --gzip '.' --verbose
|
||||||
- name: Linux Headers Meta [Artifact Upload]
|
- name: Linux Headers Meta [Artifact Upload]
|
||||||
if: inputs.meta == 'true'
|
if: env.meta == 'true'
|
||||||
uses: christopherhx/gitea-upload-artifact@v7
|
uses: christopherhx/gitea-upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz
|
name: linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz
|
||||||
@@ -191,7 +191,7 @@ jobs:
|
|||||||
overwrite: true
|
overwrite: true
|
||||||
archive: false
|
archive: false
|
||||||
- name: Linux libc Development [Build]
|
- name: Linux libc Development [Build]
|
||||||
if: inputs.meta == 'true' && matrix.defconfig == 'bcm2711_defconfig'
|
if: env.meta == 'true' && matrix.defconfig == 'bcm2711_defconfig'
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/mv --verbose './linux-libc-dev' "./linux-libc-dev_${{ matrix.codename }}"
|
/usr/bin/mv --verbose './linux-libc-dev' "./linux-libc-dev_${{ matrix.codename }}"
|
||||||
/usr/bin/install --directory --verbose "./linux-libc-dev_${{ matrix.codename }}/usr"
|
/usr/bin/install --directory --verbose "./linux-libc-dev_${{ matrix.codename }}/usr"
|
||||||
@@ -199,11 +199,11 @@ jobs:
|
|||||||
/usr/bin/sed --in-place --expression="s/CICD_VERSION//${{ needs.sources.outputs.version }}/g" "./linux-libc-dev_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression="s/CICD_VERSION//${{ needs.sources.outputs.version }}/g" "./linux-libc-dev_${{ matrix.codename }}/DEBIAN/control"
|
||||||
/usr/bin/mv --verbose './linux-sources/debian/linux-libc-dev/usr/include' "./linux-libc-dev_${{ matrix.codename }}/usr/include"
|
/usr/bin/mv --verbose './linux-sources/debian/linux-libc-dev/usr/include' "./linux-libc-dev_${{ matrix.codename }}/usr/include"
|
||||||
- name: Linux libc Development [Archive]
|
- name: Linux libc Development [Archive]
|
||||||
if: inputs.meta == 'true' && matrix.defconfig == 'bcm2711_defconfig'
|
if: env.meta == 'true' && matrix.defconfig == 'bcm2711_defconfig'
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/tar --create --directory="./linux-libc-dev_${{ matrix.codename }}" --file="./linux-libc-dev_${{ matrix.codename }}.tar.gz" --gzip '.' --verbose
|
/usr/bin/tar --create --directory="./linux-libc-dev_${{ matrix.codename }}" --file="./linux-libc-dev_${{ matrix.codename }}.tar.gz" --gzip '.' --verbose
|
||||||
- name: Linux libc Development [Artifact Upload]
|
- name: Linux libc Development [Artifact Upload]
|
||||||
if: inputs.meta == 'true' && matrix.defconfig == 'bcm2711_defconfig'
|
if: env.meta == 'true' && matrix.defconfig == 'bcm2711_defconfig'
|
||||||
uses: christopherhx/gitea-upload-artifact@v7
|
uses: christopherhx/gitea-upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: linux-libc-dev_${{ matrix.codename }}.tar.gz
|
name: linux-libc-dev_${{ matrix.codename }}.tar.gz
|
||||||
|
|||||||
Reference in New Issue
Block a user