mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 23:27:04 +02:00
CI: github: try to build the latest WolfSSL master weekly
The WolfSSL latest version is still broken (5.7.4), no new release was done with a new version. Modify the weekly CI job so we could build with the latest git version.
This commit is contained in:
parent
5b8899b6cc
commit
ef108705e4
15
.github/workflows/wolfssl.yml
vendored
15
.github/workflows/wolfssl.yml
vendored
@ -16,25 +16,12 @@ jobs:
|
|||||||
- name: Install VTest
|
- name: Install VTest
|
||||||
run: |
|
run: |
|
||||||
scripts/build-vtest.sh
|
scripts/build-vtest.sh
|
||||||
- name: Determine latest WolfSSL release
|
|
||||||
id: get_wolfssl_release
|
|
||||||
run: |
|
|
||||||
result=$(cd .github && python3 -c "from matrix import determine_latest_wolfssl; print(determine_latest_wolfssl(''))")
|
|
||||||
echo $result
|
|
||||||
echo "result=$result" >> $GITHUB_OUTPUT
|
|
||||||
- name: Cache WolfSSL
|
|
||||||
id: cache_wolfssl
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: '~/opt/'
|
|
||||||
key: ssl-${{ steps.get_wolfssl_release.outputs.result }}-Ubuntu-latest-gcc
|
|
||||||
- name: Install apt dependencies
|
- name: Install apt dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
|
sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
|
||||||
sudo apt-get --no-install-recommends -y install socat gdb
|
sudo apt-get --no-install-recommends -y install socat gdb
|
||||||
- name: Install WolfSSL
|
- name: Install WolfSSL
|
||||||
if: ${{ steps.cache_ssl.outputs.cache-hit != 'true' }}
|
run: env WOLFSSL_VERSION=git-master scripts/build-ssl.sh
|
||||||
run: env ${{ steps.get_wolfssl_release.outputs.result }} scripts/build-ssl.sh
|
|
||||||
- name: Compile HAProxy
|
- name: Compile HAProxy
|
||||||
run: |
|
run: |
|
||||||
make -j$(nproc) ERR=1 CC=gcc TARGET=linux-glibc \
|
make -j$(nproc) ERR=1 CC=gcc TARGET=linux-glibc \
|
||||||
|
Loading…
Reference in New Issue
Block a user