forked from linuxppc/linux-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Add CI configuration to linux-next 20241220
- Loading branch information
Showing
17 changed files
with
885 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"problemMatcher": [ | ||
{ | ||
"__comment_owner": "match compiler warning/error lines not from source", | ||
"owner": "compiler-non-source", | ||
"pattern": [ | ||
{ | ||
"__comment_regexp1": "clang: warning: argument unused during compilation: '-march=armv7-a' [-Wunused-command-line-argument]", | ||
"__comment_regexp2": "ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature detected", | ||
"regexp": "^(?:[^:]+): (?:fatal\\s+)?(warning|error):\\s+(.*)$", | ||
"severity": 1, | ||
"message": 2 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"problemMatcher": [ | ||
{ | ||
"owner": "gcc-problem-matcher", | ||
"pattern": [ | ||
{ | ||
"regexp": "^(?:/linux/)?(.*):(\\d+):(\\d+):\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$", | ||
"file": 1, | ||
"line": 2, | ||
"column": 3, | ||
"severity": 4, | ||
"message": 5 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"problemMatcher": [ | ||
{ | ||
"owner": "powerpc-sparse", | ||
"pattern": [ | ||
{ | ||
"regexp": "^\\+(?:/linux/)?(.*):(\\d+|XX):(\\d+|XX):\\s+(error|warning):\\s+(.*)$", | ||
"file": 1, | ||
"line": 2, | ||
"column": 3, | ||
"severity": 4, | ||
"message": 5 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: powerpc/allconfig | ||
|
||
# Controls when the action will run. | ||
on: | ||
# This allows the build to be triggered manually via the github UI. | ||
workflow_dispatch: | ||
|
||
jobs: | ||
kernel: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
# ppc64le allmod and allyes | ||
- subarch: ppc64le | ||
defconfig: ppc64le_allmodconfig | ||
image: fedora-40 | ||
- subarch: ppc64le | ||
defconfig: allyesconfig | ||
image: fedora-40 | ||
merge_config: /linux/arch/powerpc/configs/le.config | ||
# ppc64 allmod and allyes | ||
- subarch: ppc64 | ||
defconfig: allmodconfig | ||
image: fedora-40 | ||
- subarch: ppc64 | ||
defconfig: allyesconfig | ||
image: fedora-40 | ||
# ppc32 allmod | ||
- subarch: ppc | ||
defconfig: ppc32_allmodconfig | ||
image: fedora-40 | ||
# ppc64 book3e allmod | ||
# Broken due to head_check.sh | ||
#- subarch: ppc64 | ||
# defconfig: ppc64_book3e_allmodconfig | ||
# image: fedora-40 | ||
|
||
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@v4 | ||
|
||
- 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@v4 | ||
with: | ||
path: ~/.ccache | ||
key: ${{ matrix.image }}-${{ matrix.subarch }}-${{ matrix.defconfig }} | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build | ||
run: | | ||
mkdir -p ~/.ccache | ||
./arch/powerpc/tools/ci-build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: powerpc/clang | ||
|
||
# Controls when the action will run. | ||
on: | ||
# run at 2:30am AEST == 4:30pm UTC | ||
schedule: | ||
- cron: '30 16 * * *' | ||
# This allows the build to be triggered manually via the github UI. | ||
workflow_dispatch: | ||
|
||
jobs: | ||
kernel: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
defconfig: [ppc64, corenet64_smp, pmac32, mpc885_ads] | ||
image: [fedora-40] | ||
subarch: [ppc64] | ||
include: | ||
- subarch: ppc64le | ||
defconfig: ppc64le | ||
image: fedora-40 | ||
|
||
env: | ||
CLANG: 1 | ||
LLVM_IAS: 0 | ||
ARCH: powerpc | ||
TARGET: kernel | ||
CCACHE: 1 | ||
SUBARCH: ${{ matrix.subarch }} | ||
IMAGE: ${{ matrix.image }} | ||
DEFCONFIG: ${{ matrix.defconfig }} | ||
MERGE_CONFIG: /linux/arch/powerpc/configs/disable-werror.config | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- 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@v4 | ||
with: | ||
path: ~/.ccache | ||
key: ${{ matrix.image }}-${{ matrix.subarch }}-${{ matrix.defconfig }} | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
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@v4 | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: powerpc/extrawarn | ||
|
||
# Controls when the action will run. | ||
on: | ||
# Only when triggered manually via the github UI. | ||
workflow_dispatch: | ||
|
||
jobs: | ||
kernel: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
defconfig: [ppc64, corenet64_smp, pmac32, ppc44x, mpc885_ads, corenet32_smp] | ||
image: [fedora-40, korg-5.5.0] | ||
subarch: [ppc64] | ||
include: | ||
- subarch: ppc64le | ||
defconfig: ppc64le | ||
image: korg-5.5.0 | ||
- subarch: ppc64le | ||
defconfig: ppc64le | ||
image: fedora-40 | ||
|
||
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 | ||
KBUILD_EXTRA_WARN: 1 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- 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@v4 | ||
with: | ||
path: ~/.ccache | ||
key: ${{ matrix.image }}-${{ matrix.subarch }}-${{ matrix.defconfig }} | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
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@v4 | ||
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 |
Oops, something went wrong.