Skip to content

Commit b6eefa0

Browse files
committed
test
1 parent 8f27058 commit b6eefa0

2 files changed

Lines changed: 35 additions & 13 deletions

File tree

.github/workflows/compare.yml

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,41 @@ jobs:
3131
repository: eweOS/packages
3232
ref: linux
3333
path: pkg
34+
- uses: docker/setup-qemu-action@v1
35+
with:
36+
platforms: ${{ matrix.arch }}
37+
image: "tonistiigi/binfmt:qemu-v8.1.5"
3438
- 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
39+
docker run
40+
--rm
41+
-v ./pkg:/pkg -w /pkg
42+
--platform linux/${{ matrix.arch }}
43+
ghcr.io/eweos/docker:buildenv
44+
bash -c "pacman -Syu --noconfirm && set -euo pipefail && makepkg -os --noconfirm"
45+
- run: >-
46+
docker run
47+
--rm
48+
-v $(pwd):/${{ github.workspace }}
49+
-w ${{ github.workspace }}
50+
--platform linux/${{ matrix.arch }}
51+
ghcr.io/eweos/docker:buildenv
52+
bash -c "
53+
. pkg/PKGBUILD &&
54+
./repo/scripts/generate-config.sh ${{ matrix.arch }} ${{ matrix.karch }} pkg/$_basename-$pkgver repo
55+
cp pkg/$_basename-$pkgver/.config config-new
56+
"
57+
- run: >-
58+
docker run
59+
--rm
60+
-v $(pwd):/${{ github.workspace }}
61+
-w ${{ github.workspace }}
62+
--platform linux/${{ matrix.arch }}
63+
ghcr.io/eweos/docker:buildenv
64+
bash -c "
65+
. pkg/PKGBUILD &&
66+
./repo/scripts/generate-config.sh ${{ matrix.arch }} ${{ matrix.karch }} pkg/$_basename-$pkgver repo-old
67+
cp pkg/$_basename-$pkgver/.config config-new
68+
"
4769
- run: |
4870
diff -urN config-old config-new > config.diff
4971
- uses: actions/upload-artifact@v4

generic.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# branding
2-
CONFIG_LOGO=y
2+
CONFIG_LOGO=n
33

44
# boot
55
CONFIG_EFI_BOOTLOADER_CONTROL=y

0 commit comments

Comments
 (0)