Skip to content

Commit

Permalink
Add i386 arch
Browse files Browse the repository at this point in the history
Signed-off-by: static-void-main <[email protected]>
  • Loading branch information
static-void-main committed Apr 2, 2021
1 parent c0e55c1 commit 83c303b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ARCH: [amd64, armhf, arm64]
ARCH: [amd64, armhf, arm64, i386]
DEBIAN_VERSION: [stretch, buster]
env:
ARCH: ${{matrix.ARCH}}
Expand Down
9 changes: 9 additions & 0 deletions build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,12 @@ services:
PIHOLE_BASE: multiarch/debian-debootstrap:arm64-${DEBIAN_VERSION:-buster}-slim
PIHOLE_ARCH: arm64
S6_ARCH: aarch64
i386:
image: pihole:${PIHOLE_VERSION}-i386-${DEBIAN_VERSION:-buster}
build:
context: .
args:
<<: *common-args
PIHOLE_BASE: multiarch/debian-debootstrap:i386-${DEBIAN_VERSION:-buster}-slim
PIHOLE_ARCH: i386
S6_ARCH: x86
2 changes: 1 addition & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def DockerPersist(request, persist_test_args, persist_args, persist_image, persi
def entrypoint():
return ''

@pytest.fixture(params=['amd64', 'armhf', 'arm64', 'armel'])
@pytest.fixture(params=['amd64', 'armhf', 'arm64', 'armel', 'i386'])
def arch(request):
return request.param

Expand Down

0 comments on commit 83c303b

Please sign in to comment.