File tree Expand file tree Collapse file tree 1 file changed +70
-0
lines changed
Expand file tree Collapse file tree 1 file changed +70
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Compare Kernel Config
2+
3+ on :
4+ pull_request :
5+ types : [opened, reopened, synchronize]
6+ branches :
7+ - ' master'
8+
9+ jobs :
10+ bump :
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ include :
15+ - arch : x86_64
16+ karch : x86
17+ - arch : aarch64
18+ karch : arm64
19+ - arch : riscv64
20+ karch : riscv
21+ - arch : loongarch64
22+ karch : loongarch
23+ runs-on : ubuntu-latest
24+ steps :
25+ - uses : actions/checkout@v4
26+ with :
27+ path : repo
28+ - uses : actions/checkout@v4
29+ with :
30+ ref : master
31+ path : repo-old
32+ - uses : actions/checkout@v4
33+ with :
34+ repository : eweOS/packages
35+ ref : linux
36+ path : pkg
37+ - run : >-
38+ docker run
39+ --rm
40+ -v ./pkg:/pkg -w /pkg
41+ ghcr.io/eweos/docker:buildenv
42+ bash -c "pacman -Syu --noconfirm && set -euo pipefail && makepkg -os --noconfirm --noprepare"
43+ - run : >-
44+ docker run
45+ --rm
46+ -v $(pwd):/${{ github.workspace }}
47+ -w ${{ github.workspace }}
48+ ghcr.io/eweos/docker:buildenv
49+ bash -c "
50+ source pkg/PKGBUILD &&
51+ ./repo/scripts/generate-config.sh ${{ matrix.arch }} ${{ matrix.karch }} pkg/\$_basename-\$pkgver repo
52+ cp pkg/\$_basename-\$pkgver/.config config-new
53+ "
54+ - run : >-
55+ docker run
56+ --rm
57+ -v $(pwd):/${{ github.workspace }}
58+ -w ${{ github.workspace }}
59+ ghcr.io/eweos/docker:buildenv
60+ bash -c "
61+ source pkg/PKGBUILD &&
62+ ./repo/scripts/generate-config.sh ${{ matrix.arch }} ${{ matrix.karch }} pkg/\$_basename-\$pkgver repo-old
63+ cp pkg/\$_basename-\$pkgver/.config config-new
64+ "
65+ - run : |
66+ diff -urN config-old config-new > config.diff
67+ - uses : actions/upload-artifact@v4
68+ with :
69+ name : diff-${{ matrix.arch }}
70+ path : config.diff
You can’t perform that action at this time.
0 commit comments