blob: 1b61f1e7a5cfac3bc03ad44f3747d577b0c5eabe [file] [log] [blame]
Ilya Shipitsin4c785f02022-07-29 23:21:37 +05001#
2# special purpose CI: test build on x86_64 with "m32" flag enabled
3# let us run those builds weekly
4#
5# some details might be found at GH: https://github.com/haproxy/haproxy/issues/1760
6#
7
8name: 32 Bit
9
10on:
11 schedule:
12 - cron: "0 0 * * 5"
13
14
15permissions:
16 contents: read
17
18jobs:
19 build:
20 name: Fedora
21 runs-on: ubuntu-latest
22 container:
23 image: fedora:rawhide
24 steps:
25 - uses: actions/checkout@v3
26 - name: Install dependencies
27 run: |
28 dnf -y groupinstall "Development Tools"
29 dnf -y install 'perl(FindBin)' 'perl(File::Compare)' perl-IPC-Cmd 'perl(File::Copy)' glibc-devel.i686
30 - name: Compile QUICTLS
31 run: |
32 QUICTLS=yes QUICTLS_EXTRA_ARGS="-m32 linux-generic32" ./scripts/build-ssl.sh
33 - name: Compile HAProxy
34 run: |
35 make -j$(nproc) CC=gcc ERR=1 \
36 TARGET=linux-glibc \
37 USE_OPENSSL=1 \
38 USE_QUIC=1 \
39 DEBUG_CFLAGS="-m32" \
40 LDFLAGS="-m32" \
41 SSL_LIB=${HOME}/opt/lib \
42 SSL_INC=${HOME}/opt/include