File tree Expand file tree Collapse file tree 2 files changed +25
-16
lines changed
Expand file tree Collapse file tree 2 files changed +25
-16
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,12 @@ name: Compare Kernel Config
22
33on :
44 pull_request :
5+ types : [opened, reopened, synchronize]
6+ branches :
7+ - ' master'
58
69jobs :
7- bump :
10+ genconfig :
811 strategy :
912 fail-fast : false
1013 matrix :
@@ -32,20 +35,26 @@ jobs:
3235 ref : linux
3336 path : pkg
3437 - run : >-
35- docker run --rm
36- -v ./pkg:/pkg -w /pkg
37- ghcr.io/eweos/docker:master
38- makepkg -o
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
38+ docker run
39+ --rm
40+ -v $(pwd):/${{ github.workspace }}
41+ -w ${{ github.workspace }}
42+ ghcr.io/eweos/docker:buildenv
43+ bash -c "
44+ pushd pkg &&
45+ pacman -Syu --noconfirm && makepkg -os --noconfirm --noprepare &&
46+ source PKGBUILD &&
47+ popd &&
48+ pushd repo &&
49+ ./scripts/generate-config.sh ${{ matrix.arch }} ${{ matrix.karch }} ${{ github.workspace }}/pkg/\$_basename-\$pkgver &&
50+ popd &&
51+ cp ${{ github.workspace }}/pkg/\$_basename-\$pkgver/.config config-new
52+ pushd repo-old &&
53+ ./scripts/generate-config.sh ${{ matrix.arch }} ${{ matrix.karch }} ${{ github.workspace }}/pkg/\$_basename-\$pkgver &&
54+ popd &&
55+ cp ${{ github.workspace }}/pkg/\$_basename-\$pkgver/.config config-old
56+ diff -urN config-old config-new > config.diff
57+ "
4958 - uses : actions/upload-artifact@v4
5059 with :
5160 name : diff-${{ matrix.arch }}
Original file line number Diff line number Diff line change 11# branding
2- CONFIG_LOGO=y
2+ CONFIG_LOGO=n
33
44# boot
55CONFIG_EFI_BOOTLOADER_CONTROL=y
You can’t perform that action at this time.
0 commit comments