aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-01-11 00:54:45 +0800
committerJia Tan <jiat0218@gmail.com>2023-01-11 00:54:45 +0800
commit57464bb4ebd6c00dc8b19803f05ea55ddd0826f6 (patch)
tree51597a0178af4e2e0dba3b30a965c454eee03f75
parentCI/CD: Enables warnings as errors in autotool build. (diff)
downloadxz-57464bb4ebd6c00dc8b19803f05ea55ddd0826f6.tar.xz
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.
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 6 insertions, 1 deletions
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: