From 71f431eec9061c749e856c5c80cf4889e4fd4755 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sat, 22 Jun 2024 15:41:54 -0400 Subject: [PATCH] ci(test): Add 32-bit CI tests Signed-off-by: Dave Henderson --- .github/workflows/build.yml | 15 +++++++++++++++ .github/workflows/lint.yml | 1 - Dockerfile.test32bit | 16 ++++++++++++++++ Makefile | 9 ++++++--- 4 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 Dockerfile.test32bit diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1ec9fe305..e10ad372b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,21 @@ jobs: path: bin/gomplate - run: make test - run: make integration + linux-32bit-build: + runs-on: ubuntu-latest + strategy: + matrix: + platform: [ linux/386, linux/armhf ] + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3.0.0 + - name: Test on ${{ matrix.platform }} + run: | + docker build --platform ${{ matrix.platform }} --iidfile test32bit.iid -f Dockerfile.test32bit . + docker run --rm $(