Skip to content

Automatic merge of 'topic/ppc-kvm' into merge-test (2023-09-18 08:48) #521

Automatic merge of 'topic/ppc-kvm' into merge-test (2023-09-18 08:48)

Automatic merge of 'topic/ppc-kvm' into merge-test (2023-09-18 08:48) #521

name: powerpc/allconfig
# Controls when the action will run.
on:
# This allows the build to be triggered manually via the github UI.
workflow_dispatch:
push:
# This triggers the build on a push to merge-test only
branches:
- 'merge-test'
jobs:
kernel:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
# ppc64le allmod and allyes
- subarch: ppc64le
defconfig: ppc64le_allmodconfig
image: fedora-37
- subarch: ppc64le
defconfig: allyesconfig
image: fedora-37
merge_config: /linux/arch/powerpc/configs/le.config
# ppc64 allmod and allyes
- subarch: ppc64
defconfig: allmodconfig
image: fedora-37
- subarch: ppc64
defconfig: allyesconfig
image: fedora-37
# ppc32 allmod
- subarch: ppc
defconfig: ppc32_allmodconfig
image: fedora-37
# ppc64 book3e allmod
- subarch: ppc64
defconfig: ppc64_book3e_allmodconfig
image: fedora-37
env:
ARCH: powerpc
TARGET: kernel
CCACHE: 1
SUBARCH: ${{ matrix.subarch }}
IMAGE: ${{ matrix.image }}
DEFCONFIG: ${{ matrix.defconfig }}
MERGE_CONFIG: /linux/arch/powerpc/configs/disable-werror.config,${{ matrix.merge_config }}
steps:
- uses: actions/checkout@v3
- name: Register problem matchers
run: |
echo "::add-matcher::.github/problem-matchers/compiler-source.json"
echo "::add-matcher::.github/problem-matchers/compiler-non-source.json"
- name: Load ccache
uses: actions/cache@v3
with:
path: ~/.ccache
key: ${{ matrix.image }}-${{ matrix.subarch }}-${{ matrix.defconfig }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: |
mkdir -p ~/.ccache
./arch/powerpc/tools/ci-build.sh
- name: Archive artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.defconfig }}-${{ matrix.image }}
path: |
~/output/vmlinux
~/output/.config
~/output/System.map
~/output/modules.tar.bz2
~/output/arch/powerpc/boot/zImage
~/output/arch/powerpc/boot/uImage