From 57464bb4ebd6c00dc8b19803f05ea55ddd0826f6 Mon Sep 17 00:00:00 2001 From: Jia Tan Date: Wed, 11 Jan 2023 00:54:45 +0800 Subject: [PATCH] CI/CD: Add 32-bit build and test steps to Ubuntu autotools runner. If all goes well, Mac autotools and Linux and Mac CMake will be added later for 32-bit builds. --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1ef1f3b..b7cbd1b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - name: Install Dependencies - run: sudo apt-get install -y autoconf automake build-essential po4a autopoint + run: sudo apt-get install -y autoconf automake build-essential po4a autopoint gcc-multilib # -b specifies the build system to use. # -p specifies the phase (build or test) to help narrow down an error @@ -75,6 +75,11 @@ jobs: - name: Test without crc64 check run: ./build-aux/ci_build.sh -b autotools -c crc32,sha256 -p test + - name: Build 32-bit + run: ./build-aux/ci_build.sh -b autotools -p build -f "-m32" + - name: Test 32-bit + run: ./build-aux/ci_build.sh -b autotools -p test -f "-m32" + Linux-CMake: runs-on: ubuntu-latest steps: