The AWS-LC FIPS workflow previously ran against non-FIPS libraries
without detecting the mistake, leaving FIPS-specific paths untested.
Require haproxy -cc 'fips_mode()' to succeed before running the tests.
This also rejects non-FIPS libraries restored from an existing cache.
This check should be backported to 3.5 along with the build helper fix.
run: |
ldd $(which haproxy)
haproxy -vv
+ haproxy -cc 'fips_mode()'
echo "version=$(haproxy -vq)" >> $GITHUB_OUTPUT
- uses: ./.github/actions/setup-vtest
- name: Run VTest for HAProxy