CI: enable weekly "m32" builds on x86_64
this is build only workflow, catches potential "size_t" mismatches -- v2 job name added, various markup changes
This commit is contained in:
parent
3f59ac5ce2
commit
4c785f0a1f
42
.github/workflows/m32.yml
vendored
Normal file
42
.github/workflows/m32.yml
vendored
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
#
|
||||||
|
# special purpose CI: test build on x86_64 with "m32" flag enabled
|
||||||
|
# let us run those builds weekly
|
||||||
|
#
|
||||||
|
# some details might be found at GH: https://github.com/haproxy/haproxy/issues/1760
|
||||||
|
#
|
||||||
|
|
||||||
|
name: 32 Bit
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * 5"
|
||||||
|
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Fedora
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: fedora:rawhide
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
dnf -y groupinstall "Development Tools"
|
||||||
|
dnf -y install 'perl(FindBin)' 'perl(File::Compare)' perl-IPC-Cmd 'perl(File::Copy)' glibc-devel.i686
|
||||||
|
- name: Compile QUICTLS
|
||||||
|
run: |
|
||||||
|
QUICTLS=yes QUICTLS_EXTRA_ARGS="-m32 linux-generic32" ./scripts/build-ssl.sh
|
||||||
|
- name: Compile HAProxy
|
||||||
|
run: |
|
||||||
|
make -j$(nproc) CC=gcc ERR=1 \
|
||||||
|
TARGET=linux-glibc \
|
||||||
|
USE_OPENSSL=1 \
|
||||||
|
USE_QUIC=1 \
|
||||||
|
DEBUG_CFLAGS="-m32" \
|
||||||
|
LDFLAGS="-m32" \
|
||||||
|
SSL_LIB=${HOME}/opt/lib \
|
||||||
|
SSL_INC=${HOME}/opt/include
|
Loading…
x
Reference in New Issue
Block a user