File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed
Expand file tree Collapse file tree 1 file changed +52
-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+
6+ jobs :
7+ bump :
8+ strategy :
9+ fail-fast : false
10+ matrix :
11+ include :
12+ - arch : x86_64
13+ karch : x86
14+ - arch : aarch64
15+ karch : arm64
16+ - arch : riscv64
17+ karch : riscv
18+ - arch : loongarch64
19+ karch : loongarch
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@v4
23+ with :
24+ path : repo
25+ - uses : actions/checkout@v4
26+ with :
27+ ref : master
28+ path : repo-old
29+ - uses : actions/checkout@v4
30+ with :
31+ repository : eweOS/packages
32+ ref : linux
33+ path : pkg
34+ - run : >-
35+ docker run --rm
36+ -v ./pkg:/pkg -w /pkg
37+ ghcr.io/eweos/docker:master
38+ bash -c "pacman -Sy && makepkg -os"
39+ - run : |
40+ . pkg/PKGBUILD
41+ ./repo/scripts/generate-config.sh ${{ matrix.arch }} ${{ matrix.karch }} pkg/$_basename-$pkgver repo
42+ cp pkg/$_basename-$pkgver/.config config-new
43+ - run : |
44+ . pkg/PKGBUILD
45+ ./repo/scripts/generate-config.sh ${{ matrix.arch }} ${{ matrix.karch }} pkg/$_basename-$pkgver repo-old
46+ cp pkg/$_basename-$pkgver/.config config-old
47+ - run : |
48+ diff -urN config-old config-new > config.diff
49+ - uses : actions/upload-artifact@v4
50+ with :
51+ name : diff-${{ matrix.arch }}
52+ path : config.diff
You can’t perform that action at this time.
0 commit comments