Skip to content

Commit 3ff6247

Browse files
author
Test User
committed
Add fips correctly for build
1 parent 700ce7a commit 3ff6247

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/build-wolfprovider.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,16 @@ jobs:
158158
159159
- name: Install wolfProvider
160160
run: |
161-
$GITHUB_WORKSPACE/debian/install-wolfprov.sh ${{ env.WOLFPROV_PACKAGES_PATH }}
161+
if [ "${{ inputs.fips_ref }}" = "FIPS" ]; then
162+
FIPS_FLAG="--fips"
163+
else
164+
FIPS_FLAG=""
165+
fi
166+
$GITHUB_WORKSPACE/debian/install-wolfprov.sh $FIPS_FLAG ${{ env.WOLFPROV_PACKAGES_PATH }} || {
167+
echo "Build failed. Showing test-suite.log if available:"
168+
find . -name "test-suite.log" -exec cat {} \;
169+
exit 1
170+
}
162171
163172
- name: Setup packages directory
164173
run: |

debian/rules

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,4 @@ override_dh_auto_clean:
8282
rm -rf test/standalone/tests/.libs
8383

8484
override_dh_auto_test:
85-
# Set LD_LIBRARY_PATH to find installed wolfSSL/OpenSSL libraries
86-
export LD_LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIARCH):$$LD_LIBRARY_PATH && \
8785
$(MAKE) test

0 commit comments

Comments
 (0)