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.
This commit is contained in:
Jia Tan 2023-01-11 00:54:45 +08:00
parent 923eb689a4
commit 57464bb4eb
1 changed files with 6 additions and 1 deletions

View File

@ -30,7 +30,7 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install Dependencies - 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. # -b specifies the build system to use.
# -p specifies the phase (build or test) to help narrow down an error # -p specifies the phase (build or test) to help narrow down an error
@ -75,6 +75,11 @@ jobs:
- name: Test without crc64 check - name: Test without crc64 check
run: ./build-aux/ci_build.sh -b autotools -c crc32,sha256 -p test 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: Linux-CMake:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: