mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 07:12:28 +00:00
Add 32-bit Linux build to CI
This commit is contained in:
parent
2155815234
commit
bdf29ca33e
@ -100,6 +100,18 @@ jobs:
|
||||
buildPlatform: AppImage
|
||||
dependsOn: Linux
|
||||
condition: succeeded()
|
||||
- job: Linux32
|
||||
pool:
|
||||
vmImage: ubuntu-16.04
|
||||
steps:
|
||||
- script: azure-pipelines/build-linux32
|
||||
displayName: 'Linux 32-bit'
|
||||
- task: PublishTestResults@2
|
||||
inputs:
|
||||
testRunTitle: Linux32
|
||||
buildPlatform: Linux32
|
||||
dependsOn: Linux
|
||||
condition: succeeded()
|
||||
- job: Fuzzers
|
||||
pool:
|
||||
vmImage: ubuntu-16.04
|
||||
|
24
azure-pipelines/build-linux32
Executable file
24
azure-pipelines/build-linux32
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
# dpkg --add-architecture not needed for Ubuntu 18.04
|
||||
sudo dpkg --add-architecture i386
|
||||
|
||||
sudo apt-get update
|
||||
|
||||
# For Ubuntu 18.04:
|
||||
#
|
||||
# sudo apt-get -y install \
|
||||
# autoconf build-essential zlib1g-dev:i386 libjpeg-dev:i386 \
|
||||
# g++-multilib-i686-linux-gnu
|
||||
# ./configure --enable-werror --enable-show-failed-test-output \
|
||||
# CC=i686-linux-gnu-gcc CXX=i686-linux-gnu-g++
|
||||
|
||||
sudo apt-get -y install \
|
||||
autoconf build-essential zlib1g-dev:i386 libjpeg-dev:i386 \
|
||||
g++-multilib
|
||||
./configure --enable-werror --enable-show-failed-test-output \
|
||||
CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32
|
||||
|
||||
make -j$(nproc) -k
|
||||
make -k check
|
Loading…
Reference in New Issue
Block a user