Skip to content

Test debian bookworm for IGEL osp's #72

Test debian bookworm for IGEL osp's

Test debian bookworm for IGEL osp's #72

Workflow file for this run

name: Replace Default Tests
# START OF COMMON SECTION
on:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '*' ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# END OF COMMON SECTION
jobs:
replace_default_test:
name: Replace Default Test
runs-on: ubuntu-22.04
timeout-minutes: 30
strategy:
matrix:
# Test both standard and replace-default builds
replace_default: ['', '--replace-default']
# Test with stable versions
wolfssl_ref: ['v5.8.0-stable']
openssl_ref: ['openssl-3.5.0']
steps:
- name: Checkout wolfProvider
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Build wolfProvider ${{ matrix.replace_default && 'with replace-default' || 'standard' }}
run: |
OPENSSL_TAG=${{ matrix.openssl_ref }} \
WOLFSSL_TAG=${{ matrix.wolfssl_ref }} \
./scripts/build-wolfprovider.sh ${{ matrix.replace_default }}
- name: Run standalone test suite
run: |
./test/standalone/runners/run_standalone_tests.sh
- name: Print errors on failure
if: ${{ failure() }}
run: |
# Build failure log
if [ -f scripts/build-release.log ]; then
echo "=== Build log (last 50 lines) ==="
tail -n 50 scripts/build-release.log
fi
# Test suite failure log
if [ -f test-suite.log ]; then
echo "=== Test suite log ==="
cat test-suite.log
fi
# Standalone test failures
if [ -d test/standalone/runners/test_results ]; then
for log in test/standalone/runners/test_results/*.log; do
if [ -f "$log" ]; then
echo "=== $log ==="
cat "$log"
fi
done
fi