From 88c50dae6bd94b5c7be27bb3726ac273cd0dc0bf Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Fri, 29 Oct 2021 10:57:38 -0700 Subject: [PATCH] add 32bit test --- .github/workflows/test.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 473288e..cb89582 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,3 +35,19 @@ jobs: run: pip install tox - name: Test run: tox -e test + test-32bit: + runs-on: ubuntu-latest + strategy: + fail-fast: false + env: + C_COMPILER: i686-linux-gnu-gcc + CFLAGS: -m32 + steps: + - uses: actions/checkout@v2 + - name: install 32bit libraries + run: sudo dpkg --add-architecture i386 && sudo apt update && sudo apt install -y gcc-i686-linux-gnu python3.10:i386 python3.10-minimal:i386 python3.10-dev:i386 python3-pip liblzo2-dev:i386 + - name: Install tox + run: export PYTHON=python3.10 && sudo -H $PYTHON -m pip install -U pip \ + && sudo -H $PYTHON -m pip install wheel virtualenv setuptools tox + - name: Test + run: tox -e test