Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
build_ref:
- ''
- 'OPENSSL_TAG=master'
- 'WOLFSSL_TAG=master'
- 'OPENSSL_TAG=master WOLFSSL_TAG=master'
openssl_ref: [ 'openssl-3.5.0' ]
openssl_ref: [ 'master', 'openssl-3.5.0' ]
wolfssl_ref: [ 'master', 'v5.8.0-stable' ]
force_fail: ['WOLFPROV_FORCE_FAIL=1', '']

steps:
Expand All @@ -43,12 +39,12 @@ jobs:
wolfprov-install
provider.conf

key: wolfprov-${{ matrix.build_ref }}-${{ github.sha }}
key: wolfprov-${{ matrix.wolfssl_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'
if: steps.wolfprov-${{ matrix.wolfssl_ref }}-cache.hit != 'true'
uses: actions/cache@v4
id: openssl-cache
with:
Expand All @@ -61,9 +57,9 @@ jobs:

# If not yet built this version, build it now
- name: Build wolfProvider
if: steps.wolfprov-${{ matrix.build_ref }}-cache.hit != 'true'
if: steps.wolfprov-${{ matrix.wolfssl_ref }}-cache.hit != 'true'
run: |
${{ matrix.build_ref.openssl }} ${{ matrix.build_ref.wolfssl }} ./scripts/build-wolfprovider.sh
OPENSSL_TAG=${{ matrix.openssl_ref }} WOLFSSL_TAG=${{ matrix.wolfssl_ref }} ./scripts/build-wolfprovider.sh

- name: Run simple tests
run: |
Expand Down