Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/workflows/build-wolfprovider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/cjose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand All @@ -83,7 +84,7 @@ jobs:
working-directory: cjose
run: |
# Configure with OpenSSL
./configure CFLAGS="-Wno-error=deprecated-declarations" --with-openssl=/git/wolfProvider/openssl-install
./configure CFLAGS="-Wno-error=deprecated-declarations" --with-openssl=/git/wolfProvider/openssl-install

# Build cjose
make
Expand All @@ -92,15 +93,8 @@ jobs:
working-directory: cjose
run: |
# Set up the environment for wolfProvider
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/wolfssl-install/lib:$GITHUB_WORKSPACE/openssl-install/lib64
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
source $GITHUB_WORKSPACE/scripts/env-setup
export ${{ matrix.force_fail }}
export SHELL=/bin/bash

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Run tests
make test || true
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/curl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand Down Expand Up @@ -90,18 +91,11 @@ jobs:
- name: Test curl with wolfProvider
working-directory: curl
run: |
# Set environment variables
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/wolfssl-install/lib:$GITHUB_WORKSPACE/openssl-install/lib64
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
export PKG_CONFIG_PATH=$GITHUB_WORKSPACE/openssl-install/lib64/pkgconfig
# Set up the environment for wolfProvider
source $GITHUB_WORKSPACE/scripts/env-setup
export ${{ matrix.force_fail }}
export CURL_REF=${{ matrix.curl_ref }}

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Run tests and save output to test.log
mkdir -p tests
make -j$(nproc) test-ci 2>&1 | tee tests/test.log
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/grpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand Down Expand Up @@ -94,14 +95,9 @@ jobs:
- name: Build grpc with wolfProvider
working-directory: ./grpc
run: |
# Setup environment for wolfProviders
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/wolfssl-install/lib:$GITHUB_WORKSPACE/openssl-install/lib64
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)
# Set up the environment for wolfProvider
source $GITHUB_WORKSPACE/scripts/env-setup
export ${{ matrix.force_fail }}

# Initialize submodules
git submodule update --init
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/iperf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand Down Expand Up @@ -100,11 +101,8 @@ jobs:
working-directory: iperf
run: |
# Set up the environment for wolfProvider
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/wolfssl-install/lib:$GITHUB_WORKSPACE/openssl-install/lib64
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
source $GITHUB_WORKSPACE/scripts/env-setup
export ${{ matrix.force_fail }}
export SHELL=/bin/bash

# Test variables for iperf
export IPERF3_EXECUTABLE=$GITHUB_WORKSPACE/iperf/src/iperf3
Expand All @@ -116,11 +114,6 @@ jobs:
export IPERF3_PASSWORD=rossi
export KEY_DIR=$GITHUB_WORKSPACE/test-keys

# Verify OpenSSL loads wolfProvider to confirm configuration above
echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Verify iperf loads OpenSSL containing wolfProvider
ldd $IPERF3_LIB | grep -q wolfProvider

Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/ipmitool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand All @@ -79,14 +80,9 @@ jobs:
- name: Confirm built with OpenSSL and test with wolfProvider
working-directory: ipmitool
run: |
# Setup environment variables
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/wolfssl-install/lib:$GITHUB_WORKSPACE/openssl-install/lib64
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)
# Set up the environment for wolfProvider
source $GITHUB_WORKSPACE/scripts/env-setup
export ${{ matrix.force_fail }}

# Verify ipmitool was built and linked correctly with OpenSSL
ldd src/ipmitool | grep -E '(libssl|libcrypto)'
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/liboauth2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand Down Expand Up @@ -88,17 +89,10 @@ jobs:
- name: Run liboauth2 tests
working-directory: liboauth2
run: |
# Set environment variables
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/wolfssl-install/lib:$GITHUB_WORKSPACE/openssl-install/lib64
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
export PKG_CONFIG_PATH=$GITHUB_WORKSPACE/openssl-install/lib64/pkgconfig
# Set up the environment for wolfProvider
source $GITHUB_WORKSPACE/scripts/env-setup
export ${{ matrix.force_fail }}

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Build and run tests
make check 2>&1 | tee liboauth2-test.log
TEST_RESULT=$?
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/multi-compiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/net-snmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand Down Expand Up @@ -85,15 +86,10 @@ jobs:
- name: Run tests
working-directory: net-snmp
run: |
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/wolfssl-install/lib:$GITHUB_WORKSPACE/openssl-install/lib64
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
# Set up the environment for wolfProvider
source $GITHUB_WORKSPACE/scripts/env-setup
export ${{ matrix.force_fail }}

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

autoconf --version | grep -P '2\.\d\d' -o > dist/autoconf-version
mkdir -p tests
make -j test TESTOPTS="-e agentxperl" | tee tests/test.log
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand Down Expand Up @@ -92,16 +93,10 @@ jobs:
- name: Run nginx-tests with wolfProvider
working-directory: nginx-tests
run: |
# Set environment variables
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/wolfssl-install/lib:$GITHUB_WORKSPACE/openssl-install/lib64
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
# Set up the environment for wolfProvider
source $GITHUB_WORKSPACE/scripts/env-setup
export ${{ matrix.force_fail }}

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Run tests and save result
TEST_NGINX_VERBOSE=y TEST_NGINX_CATLOG=y TEST_NGINX_BINARY=../nginx/objs/nginx prove -v . 2>&1 | tee nginx-test.log
TEST_RESULT=$?
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/openldap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand All @@ -77,14 +78,9 @@ jobs:
- name: Build and test OpenLDAP with wolfProvider
working-directory: openldap
run: |
# Setup environment for wolfProvider
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/wolfssl-install/lib:$GITHUB_WORKSPACE/openssl-install/lib64
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)
# Set up the environment for wolfProvider
source $GITHUB_WORKSPACE/scripts/env-setup
export ${{ matrix.force_fail }}

# Generate configure script
rm -f aclocal.m4
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/openssh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand All @@ -81,14 +82,9 @@ jobs:
- name: Build and Test openssh-portable
working-directory: openssh-portable
run: |
# Set environment variables
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/wolfssl-install/lib:$GITHUB_WORKSPACE/openssl-install/lib64
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)
# Set up the environment for wolfProvider
source $GITHUB_WORKSPACE/scripts/env-setup
export ${{ matrix.force_fail }}

# Apply the patch for the correct version of OpenSSH
if [ "${{ matrix.openssh_ref }}" != "master" ]; then
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/openvpn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand Down Expand Up @@ -84,16 +85,10 @@ jobs:
- name: Test OpenVPN with wolfProvider
working-directory: openvpn
run: |
# Set environment variables
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/wolfssl-install/lib:$GITHUB_WORKSPACE/openssl-install/lib64
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
# Set up the environment for wolfProvider
source $GITHUB_WORKSPACE/scripts/env-setup
export ${{ matrix.force_fail }}

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Run tests and save result
make check 2>&1 | tee openvpn-test.log
TEST_RESULT=$?
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/socat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand Down Expand Up @@ -81,14 +82,8 @@ jobs:
working-directory: ./socat-1.8.0.0
run: |
# Set up the environment for wolfProvider
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/wolfssl-install/lib:$GITHUB_WORKSPACE/openssl-install/lib64
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
export SHELL=/bin/bash

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)
source $GITHUB_WORKSPACE/scripts/env-setup
export ${{ matrix.force_fail }}

# Verify OpenSSL loads wolfProvider
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/stunnel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
id: wolfprov-cache
with:
path: |
scripts
wolfssl-source
wolfssl-install
wolfprov-install
Expand Down Expand Up @@ -93,20 +94,14 @@ jobs:
- name: Verify stunnel with wolfProvider
working-directory: ./stunnel
run: |
# Setup environment variables
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/wolfssl-install/lib:$GITHUB_WORKSPACE/openssl-install/lib64
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
# Set up the environment for wolfProvider
source $GITHUB_WORKSPACE/scripts/env-setup
export ${{ matrix.force_fail }}

# Verify stunnel
ldd src/stunnel | grep -E '(libssl|libcrypto)'
./src/stunnel -version

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Run tests and capture output
mkdir -p $GITHUB_WORKSPACE/tests
make check 2>&1 | tee $GITHUB_WORKSPACE/tests/stunnel-test.log
Expand Down
Loading