Skip to content

Commit 081bf1c

Browse files
committed
CI: switch monthly Fedora Rawhide build to OpenSSL
we already run QuicTLS builds on push, also QuicTLS is not being actively developed compared to OpenSSL, likely we could catch some regression on OpenSSL, let's switch to it
1 parent 90c5618 commit 081bf1c

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

.github/workflows/fedora-rawhide.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Fedora/Rawhide/QuicTLS
1+
name: Fedora/Rawhide/OpenSSL
22

33
on:
44
schedule:
@@ -13,10 +13,10 @@ jobs:
1313
strategy:
1414
matrix:
1515
platform: [
16-
{ name: x64, cc: gcc, QUICTLS_EXTRA_ARGS: "", ADDLIB_ATOMIC: "", ARCH_FLAGS: "" },
17-
{ name: x64, cc: clang, QUICTLS_EXTRA_ARGS: "", ADDLIB_ATOMIC: "", ARCH_FLAGS: "" },
18-
{ name: x86, cc: gcc, QUICTLS_EXTRA_ARGS: "-m32 linux-generic32", ADDLIB_ATOMIC: "-latomic", ARCH_FLAGS: "-m32" },
19-
{ name: x86, cc: clang, QUICTLS_EXTRA_ARGS: "-m32 linux-generic32", ADDLIB_ATOMIC: "-latomic", ARCH_FLAGS: "-m32" }
16+
{ name: x64, cc: gcc, ADDLIB_ATOMIC: "", ARCH_FLAGS: "" },
17+
{ name: x64, cc: clang, ADDLIB_ATOMIC: "", ARCH_FLAGS: "" },
18+
{ name: x86, cc: gcc, ADDLIB_ATOMIC: "-latomic", ARCH_FLAGS: "-m32" },
19+
{ name: x86, cc: clang, ADDLIB_ATOMIC: "-latomic", ARCH_FLAGS: "-m32" }
2020
]
2121
fail-fast: false
2222
name: ${{ matrix.platform.cc }}.${{ matrix.platform.name }}
@@ -28,11 +28,9 @@ jobs:
2828
- uses: actions/checkout@v5
2929
- name: Install dependencies
3030
run: |
31-
dnf -y install awk diffutils git pcre-devel zlib-devel pcre2-devel 'perl(FindBin)' perl-IPC-Cmd 'perl(File::Copy)' 'perl(File::Compare)' lua-devel socat findutils systemd-devel clang
32-
dnf -y install 'perl(FindBin)' 'perl(File::Compare)' perl-IPC-Cmd 'perl(File::Copy)' glibc-devel.i686 lua-devel.i686 lua-devel.x86_64 systemd-devel.i686 zlib-ng-compat-devel.i686 pcre-devel.i686 libatomic.i686
31+
dnf -y install awk diffutils git pcre-devel zlib-devel pcre2-devel 'perl(FindBin)' perl-IPC-Cmd 'perl(File::Copy)' 'perl(File::Compare)' lua-devel socat findutils systemd-devel clang openssl-devel.x86_64
32+
dnf -y install 'perl(FindBin)' 'perl(File::Compare)' perl-IPC-Cmd 'perl(File::Copy)' glibc-devel.i686 lua-devel.i686 lua-devel.x86_64 systemd-devel.i686 zlib-ng-compat-devel.i686 pcre-devel.i686 libatomic.i686 openssl-devel.i686
3333
- uses: ./.github/actions/setup-vtest
34-
- name: Install QuicTLS
35-
run: QUICTLS=yes QUICTLS_EXTRA_ARGS="${{ matrix.platform.QUICTLS_EXTRA_ARGS }}" scripts/build-ssl.sh
3634
- name: Build contrib tools
3735
run: |
3836
make admin/halog/halog
@@ -41,7 +39,7 @@ jobs:
4139
make dev/hpack/decode dev/hpack/gen-enc dev/hpack/gen-rht
4240
- name: Compile HAProxy with ${{ matrix.platform.cc }}
4341
run: |
44-
make -j3 CC=${{ matrix.platform.cc }} V=1 ERR=1 TARGET=linux-glibc DEBUG="-DDEBUG_POOL_INTEGRITY -DDEBUG_UNIT" USE_OPENSSL=1 USE_QUIC=1 USE_ZLIB=1 USE_PCRE=1 USE_PCRE_JIT=1 USE_LUA=1 ADDLIB="${{ matrix.platform.ADDLIB_ATOMIC }} -Wl,-rpath,${HOME}/opt/lib" SSL_LIB=${HOME}/opt/lib SSL_INC=${HOME}/opt/include ARCH_FLAGS="${{ matrix.platform.ARCH_FLAGS }}"
42+
make -j3 CC=${{ matrix.platform.cc }} V=1 ERR=1 TARGET=linux-glibc DEBUG="-DDEBUG_POOL_INTEGRITY -DDEBUG_UNIT" USE_PROMEX=1 USE_OPENSSL=1 USE_QUIC=1 USE_ZLIB=1 USE_PCRE=1 USE_PCRE_JIT=1 USE_LUA=1 ADDLIB="${{ matrix.platform.ADDLIB_ATOMIC }}" ARCH_FLAGS="${{ matrix.platform.ARCH_FLAGS }}"
4543
make install
4644
- name: Show HAProxy version
4745
id: show-version
@@ -51,6 +49,13 @@ jobs:
5149
echo "::endgroup::"
5250
haproxy -vv
5351
echo "version=$(haproxy -v |awk 'NR==1{print $3}')" >> $GITHUB_OUTPUT
52+
#
53+
# TODO: review this workaround later
54+
- name: relax crypto policies
55+
run: |
56+
dnf -y install crypto-policies-scripts
57+
echo LEGACY > /etc/crypto-policies/config
58+
update-crypto-policies
5459
- name: Run VTest for HAProxy ${{ steps.show-version.outputs.version }}
5560
id: vtest
5661
run: |

0 commit comments

Comments
 (0)