Skip to content

Add bind9 flag to wolfssl build by default #464

Add bind9 flag to wolfssl build by default

Add bind9 flag to wolfssl build by default #464

Workflow file for this run

name: Simple 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:
simple_test:
name: Simple Test
runs-on: ubuntu-22.04
timeout-minutes: 20
strategy:
matrix:
build_ref:
- ''
- 'OPENSSL_TAG=master'
- 'WOLFSSL_TAG=master'
- 'OPENSSL_TAG=master WOLFSSL_TAG=master'
force_fail: ['WOLFPROV_FORCE_FAIL=1', '']
steps:
- name: Checkout wolfProvider
uses: actions/checkout@v4
# Check if this version of wolfssl/wolfprovider has already been built,
# mark to cache these items on post if we do end up building
- name: Checking wolfSSL/wolfProvider in cache
uses: actions/cache@v4
id: wolfprov-cache
with:
path: |
wolfssl-source
wolfssl-install
wolfprov-install
provider.conf
key: wolfprov-${{ matrix.build_ref }}-${{ github.sha }}
lookup-only: true
# If wolfssl/wolfprovider have not yet been built, pull ossl from cache
- name: Checking OpenSSL in cache
if: steps.wolfprov-${{ matrix.build_ref }}-cache.hit != 'true'
uses: actions/cache@v4
id: openssl-cache
with:
path: |
openssl-source
openssl-install
key: ossl-depends
# If not yet built this version, build it now
- name: Build wolfProvider
if: steps.wolfprov-${{ matrix.build_ref }}-cache.hit != 'true'
run: |
${{ matrix.build_ref.openssl }} ${{ matrix.build_ref.wolfssl }} ./scripts/build-wolfprovider.sh
- name: Run simple tests
run: |
./scripts/cmd_test/do-cmd-tests.sh ${{ matrix.force_fail }}
- name: Print test logs
if: always()
run: |
if [ -f test-suite.log ] ; then
cat test-suite.log
fi