Skip to content

Commit 55dd36d

Browse files
authored
Merge pull request #800 from nathanchance/check-if-patches-apply
Add a step to check if patches apply before invoking TuxSuite
2 parents 0a7c934 + bb5f5b8 commit 55dd36d

File tree

240 files changed

+8369
-486
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+8369
-486
lines changed

.github/workflows/4.19-clang-13.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,18 @@ name: 4.19 (clang-13)
1616
workflow_dispatch: null
1717
permissions: read-all
1818
jobs:
19+
check_patches:
20+
name: Check that patches are applicable
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: check-patches-apply.py
25+
run: python3 scripts/check-patches-apply.py --patches-dir patches/4.19 --repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --ref linux-4.19.y
1926
check_cache:
2027
name: Check Cache
2128
runs-on: ubuntu-latest
2229
container: tuxmake/x86_64_korg-clang-13
30+
needs: check_patches
2331
env:
2432
GIT_REPO: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
2533
GIT_REF: linux-4.19.y
@@ -41,7 +49,9 @@ jobs:
4149
name: TuxSuite (defconfigs)
4250
runs-on: ubuntu-latest
4351
container: tuxsuite/tuxsuite
44-
needs: check_cache
52+
needs:
53+
- check_cache
54+
- check_patches
4555
env:
4656
TUXSUITE_TOKEN: ${{ secrets.TUXSUITE_TOKEN }}
4757
REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }}
@@ -83,6 +93,7 @@ jobs:
8393
needs:
8494
- kick_tuxsuite_defconfigs
8595
- check_cache
96+
- check_patches
8697
name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=13 multi_v7_defconfig
8798
if: ${{ needs.check_cache.outputs.status != 'pass' }}
8899
env:
@@ -111,6 +122,7 @@ jobs:
111122
needs:
112123
- kick_tuxsuite_defconfigs
113124
- check_cache
125+
- check_patches
114126
name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=13 multi_v7_defconfig+CONFIG_THUMB2_KERNEL=y
115127
if: ${{ needs.check_cache.outputs.status != 'pass' }}
116128
env:
@@ -139,6 +151,7 @@ jobs:
139151
needs:
140152
- kick_tuxsuite_defconfigs
141153
- check_cache
154+
- check_patches
142155
name: ARCH=arm64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=13 defconfig
143156
if: ${{ needs.check_cache.outputs.status != 'pass' }}
144157
env:
@@ -167,6 +180,7 @@ jobs:
167180
needs:
168181
- kick_tuxsuite_defconfigs
169182
- check_cache
183+
- check_patches
170184
name: ARCH=powerpc CC=clang LLVM_IAS=0 LLVM_VERSION=13 powernv_defconfig
171185
if: ${{ needs.check_cache.outputs.status != 'pass' }}
172186
env:
@@ -195,6 +209,7 @@ jobs:
195209
needs:
196210
- kick_tuxsuite_defconfigs
197211
- check_cache
212+
- check_patches
198213
name: ARCH=x86_64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=13 defconfig
199214
if: ${{ needs.check_cache.outputs.status != 'pass' }}
200215
env:

.github/workflows/4.19-clang-14.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,18 @@ name: 4.19 (clang-14)
1616
workflow_dispatch: null
1717
permissions: read-all
1818
jobs:
19+
check_patches:
20+
name: Check that patches are applicable
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: check-patches-apply.py
25+
run: python3 scripts/check-patches-apply.py --patches-dir patches/4.19 --repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --ref linux-4.19.y
1926
check_cache:
2027
name: Check Cache
2128
runs-on: ubuntu-latest
2229
container: tuxmake/x86_64_korg-clang-14
30+
needs: check_patches
2331
env:
2432
GIT_REPO: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
2533
GIT_REF: linux-4.19.y
@@ -41,7 +49,9 @@ jobs:
4149
name: TuxSuite (defconfigs)
4250
runs-on: ubuntu-latest
4351
container: tuxsuite/tuxsuite
44-
needs: check_cache
52+
needs:
53+
- check_cache
54+
- check_patches
4555
env:
4656
TUXSUITE_TOKEN: ${{ secrets.TUXSUITE_TOKEN }}
4757
REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }}
@@ -83,6 +93,7 @@ jobs:
8393
needs:
8494
- kick_tuxsuite_defconfigs
8595
- check_cache
96+
- check_patches
8697
name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=14 multi_v7_defconfig
8798
if: ${{ needs.check_cache.outputs.status != 'pass' }}
8899
env:
@@ -111,6 +122,7 @@ jobs:
111122
needs:
112123
- kick_tuxsuite_defconfigs
113124
- check_cache
125+
- check_patches
114126
name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=14 multi_v7_defconfig+CONFIG_THUMB2_KERNEL=y
115127
if: ${{ needs.check_cache.outputs.status != 'pass' }}
116128
env:
@@ -139,6 +151,7 @@ jobs:
139151
needs:
140152
- kick_tuxsuite_defconfigs
141153
- check_cache
154+
- check_patches
142155
name: ARCH=arm64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=14 defconfig
143156
if: ${{ needs.check_cache.outputs.status != 'pass' }}
144157
env:
@@ -167,6 +180,7 @@ jobs:
167180
needs:
168181
- kick_tuxsuite_defconfigs
169182
- check_cache
183+
- check_patches
170184
name: ARCH=powerpc CC=clang LLVM_IAS=0 LLVM_VERSION=14 powernv_defconfig
171185
if: ${{ needs.check_cache.outputs.status != 'pass' }}
172186
env:
@@ -195,6 +209,7 @@ jobs:
195209
needs:
196210
- kick_tuxsuite_defconfigs
197211
- check_cache
212+
- check_patches
198213
name: ARCH=x86_64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=14 defconfig
199214
if: ${{ needs.check_cache.outputs.status != 'pass' }}
200215
env:

.github/workflows/4.19-clang-15.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,18 @@ name: 4.19 (clang-15)
1616
workflow_dispatch: null
1717
permissions: read-all
1818
jobs:
19+
check_patches:
20+
name: Check that patches are applicable
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: check-patches-apply.py
25+
run: python3 scripts/check-patches-apply.py --patches-dir patches/4.19 --repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --ref linux-4.19.y
1926
check_cache:
2027
name: Check Cache
2128
runs-on: ubuntu-latest
2229
container: tuxmake/x86_64_korg-clang-15
30+
needs: check_patches
2331
env:
2432
GIT_REPO: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
2533
GIT_REF: linux-4.19.y
@@ -41,7 +49,9 @@ jobs:
4149
name: TuxSuite (defconfigs)
4250
runs-on: ubuntu-latest
4351
container: tuxsuite/tuxsuite
44-
needs: check_cache
52+
needs:
53+
- check_cache
54+
- check_patches
4555
env:
4656
TUXSUITE_TOKEN: ${{ secrets.TUXSUITE_TOKEN }}
4757
REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }}
@@ -83,6 +93,7 @@ jobs:
8393
needs:
8494
- kick_tuxsuite_defconfigs
8595
- check_cache
96+
- check_patches
8697
name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=15 multi_v7_defconfig
8798
if: ${{ needs.check_cache.outputs.status != 'pass' }}
8899
env:
@@ -111,6 +122,7 @@ jobs:
111122
needs:
112123
- kick_tuxsuite_defconfigs
113124
- check_cache
125+
- check_patches
114126
name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=15 multi_v7_defconfig+CONFIG_THUMB2_KERNEL=y
115127
if: ${{ needs.check_cache.outputs.status != 'pass' }}
116128
env:
@@ -139,6 +151,7 @@ jobs:
139151
needs:
140152
- kick_tuxsuite_defconfigs
141153
- check_cache
154+
- check_patches
142155
name: ARCH=arm64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=15 defconfig
143156
if: ${{ needs.check_cache.outputs.status != 'pass' }}
144157
env:
@@ -167,6 +180,7 @@ jobs:
167180
needs:
168181
- kick_tuxsuite_defconfigs
169182
- check_cache
183+
- check_patches
170184
name: ARCH=arm64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=15 defconfig+CONFIG_CPU_BIG_ENDIAN=y
171185
if: ${{ needs.check_cache.outputs.status != 'pass' }}
172186
env:
@@ -195,6 +209,7 @@ jobs:
195209
needs:
196210
- kick_tuxsuite_defconfigs
197211
- check_cache
212+
- check_patches
198213
name: ARCH=powerpc CC=clang LLVM_IAS=0 LLVM_VERSION=15 powernv_defconfig
199214
if: ${{ needs.check_cache.outputs.status != 'pass' }}
200215
env:
@@ -223,6 +238,7 @@ jobs:
223238
needs:
224239
- kick_tuxsuite_defconfigs
225240
- check_cache
241+
- check_patches
226242
name: ARCH=x86_64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=15 defconfig
227243
if: ${{ needs.check_cache.outputs.status != 'pass' }}
228244
env:

.github/workflows/4.19-clang-16.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,18 @@ name: 4.19 (clang-16)
1616
workflow_dispatch: null
1717
permissions: read-all
1818
jobs:
19+
check_patches:
20+
name: Check that patches are applicable
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: check-patches-apply.py
25+
run: python3 scripts/check-patches-apply.py --patches-dir patches/4.19 --repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --ref linux-4.19.y
1926
check_cache:
2027
name: Check Cache
2128
runs-on: ubuntu-latest
2229
container: tuxmake/x86_64_korg-clang-16
30+
needs: check_patches
2331
env:
2432
GIT_REPO: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
2533
GIT_REF: linux-4.19.y
@@ -41,7 +49,9 @@ jobs:
4149
name: TuxSuite (defconfigs)
4250
runs-on: ubuntu-latest
4351
container: tuxsuite/tuxsuite
44-
needs: check_cache
52+
needs:
53+
- check_cache
54+
- check_patches
4555
env:
4656
TUXSUITE_TOKEN: ${{ secrets.TUXSUITE_TOKEN }}
4757
REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }}
@@ -83,6 +93,7 @@ jobs:
8393
needs:
8494
- kick_tuxsuite_defconfigs
8595
- check_cache
96+
- check_patches
8697
name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=16 multi_v7_defconfig
8798
if: ${{ needs.check_cache.outputs.status != 'pass' }}
8899
env:
@@ -111,6 +122,7 @@ jobs:
111122
needs:
112123
- kick_tuxsuite_defconfigs
113124
- check_cache
125+
- check_patches
114126
name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=16 multi_v7_defconfig+CONFIG_THUMB2_KERNEL=y
115127
if: ${{ needs.check_cache.outputs.status != 'pass' }}
116128
env:
@@ -139,6 +151,7 @@ jobs:
139151
needs:
140152
- kick_tuxsuite_defconfigs
141153
- check_cache
154+
- check_patches
142155
name: ARCH=arm64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=16 defconfig
143156
if: ${{ needs.check_cache.outputs.status != 'pass' }}
144157
env:
@@ -167,6 +180,7 @@ jobs:
167180
needs:
168181
- kick_tuxsuite_defconfigs
169182
- check_cache
183+
- check_patches
170184
name: ARCH=arm64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=16 defconfig+CONFIG_CPU_BIG_ENDIAN=y
171185
if: ${{ needs.check_cache.outputs.status != 'pass' }}
172186
env:
@@ -195,6 +209,7 @@ jobs:
195209
needs:
196210
- kick_tuxsuite_defconfigs
197211
- check_cache
212+
- check_patches
198213
name: ARCH=powerpc CC=clang LLVM_IAS=0 LLVM_VERSION=16 powernv_defconfig
199214
if: ${{ needs.check_cache.outputs.status != 'pass' }}
200215
env:
@@ -223,6 +238,7 @@ jobs:
223238
needs:
224239
- kick_tuxsuite_defconfigs
225240
- check_cache
241+
- check_patches
226242
name: ARCH=x86_64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=16 defconfig
227243
if: ${{ needs.check_cache.outputs.status != 'pass' }}
228244
env:

.github/workflows/4.19-clang-17.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,18 @@ name: 4.19 (clang-17)
1616
workflow_dispatch: null
1717
permissions: read-all
1818
jobs:
19+
check_patches:
20+
name: Check that patches are applicable
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: check-patches-apply.py
25+
run: python3 scripts/check-patches-apply.py --patches-dir patches/4.19 --repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --ref linux-4.19.y
1926
check_cache:
2027
name: Check Cache
2128
runs-on: ubuntu-latest
2229
container: tuxmake/x86_64_korg-clang-17
30+
needs: check_patches
2331
env:
2432
GIT_REPO: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
2533
GIT_REF: linux-4.19.y
@@ -41,7 +49,9 @@ jobs:
4149
name: TuxSuite (defconfigs)
4250
runs-on: ubuntu-latest
4351
container: tuxsuite/tuxsuite
44-
needs: check_cache
52+
needs:
53+
- check_cache
54+
- check_patches
4555
env:
4656
TUXSUITE_TOKEN: ${{ secrets.TUXSUITE_TOKEN }}
4757
REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }}
@@ -83,6 +93,7 @@ jobs:
8393
needs:
8494
- kick_tuxsuite_defconfigs
8595
- check_cache
96+
- check_patches
8697
name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=17 multi_v7_defconfig
8798
if: ${{ needs.check_cache.outputs.status != 'pass' }}
8899
env:
@@ -111,6 +122,7 @@ jobs:
111122
needs:
112123
- kick_tuxsuite_defconfigs
113124
- check_cache
125+
- check_patches
114126
name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=17 multi_v7_defconfig+CONFIG_THUMB2_KERNEL=y
115127
if: ${{ needs.check_cache.outputs.status != 'pass' }}
116128
env:
@@ -139,6 +151,7 @@ jobs:
139151
needs:
140152
- kick_tuxsuite_defconfigs
141153
- check_cache
154+
- check_patches
142155
name: ARCH=arm64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=17 defconfig
143156
if: ${{ needs.check_cache.outputs.status != 'pass' }}
144157
env:
@@ -167,6 +180,7 @@ jobs:
167180
needs:
168181
- kick_tuxsuite_defconfigs
169182
- check_cache
183+
- check_patches
170184
name: ARCH=arm64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=17 defconfig+CONFIG_CPU_BIG_ENDIAN=y
171185
if: ${{ needs.check_cache.outputs.status != 'pass' }}
172186
env:
@@ -195,6 +209,7 @@ jobs:
195209
needs:
196210
- kick_tuxsuite_defconfigs
197211
- check_cache
212+
- check_patches
198213
name: ARCH=powerpc CC=clang LLVM_IAS=0 LLVM_VERSION=17 powernv_defconfig
199214
if: ${{ needs.check_cache.outputs.status != 'pass' }}
200215
env:
@@ -223,6 +238,7 @@ jobs:
223238
needs:
224239
- kick_tuxsuite_defconfigs
225240
- check_cache
241+
- check_patches
226242
name: ARCH=x86_64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=17 defconfig
227243
if: ${{ needs.check_cache.outputs.status != 'pass' }}
228244
env:

0 commit comments

Comments
 (0)