Skip to content

Commit 6292fd1

Browse files
Add i386 arch
Signed-off-by: static-void-main <[email protected]>
1 parent fe7f0c8 commit 6292fd1

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.github/workflows/test-and-build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
ARCH: [amd64, armhf, arm64]
23+
ARCH: [amd64, armhf, arm64, i386]
2424
DEBIAN_VERSION: [stretch, buster, bullseye]
2525
env:
2626
ARCH: ${{matrix.ARCH}}

build.yml

+9
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,12 @@ services:
4747
PIHOLE_BASE: multiarch/debian-debootstrap:arm64-${DEBIAN_VERSION:-buster}-slim
4848
PIHOLE_ARCH: arm64
4949
S6_ARCH: aarch64
50+
i386:
51+
image: pihole:${PIHOLE_VERSION}-i386-${DEBIAN_VERSION:-buster}
52+
build:
53+
context: .
54+
args:
55+
<<: *common-args
56+
PIHOLE_BASE: multiarch/debian-debootstrap:i386-${DEBIAN_VERSION:-buster}-slim
57+
PIHOLE_ARCH: i386
58+
S6_ARCH: x86

test/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def DockerPersist(request, persist_test_args, persist_args, persist_image, persi
9191
def entrypoint():
9292
return ''
9393

94-
@pytest.fixture(params=['amd64', 'armhf', 'arm64', 'armel'])
94+
@pytest.fixture(params=['amd64', 'armhf', 'arm64', 'armel', 'i386'])
9595
def arch(request):
9696
return request.param
9797

0 commit comments

Comments
 (0)