From ad617cf4198e22e913f8cb61f608807caf50d973 Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Fri, 29 Oct 2021 10:57:38 -0700 Subject: [PATCH 1/2] add 32bit test --- .github/workflows/test.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 473288e..e752b66 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,3 +35,21 @@ 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 From 561fd6bd5753647febff7179de74198f18593b1d Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" <1330696+mr-c@users.noreply.github.com> Date: Wed, 3 Jul 2024 18:18:43 +0200 Subject: [PATCH 2/2] Update .github/workflows/test.yaml Co-authored-by: Nicola Soranzo --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e752b66..4b0e90e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -43,7 +43,7 @@ jobs: C_COMPILER: i686-linux-gnu-gcc CFLAGS: -m32 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - 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