Skip to content

Commit e4ea095

Browse files
committed
Fix CI for old wolfSSL.
1 parent 7c48b76 commit e4ea095

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/make-test-swtpm.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,22 +203,26 @@ jobs:
203203
WOLFSSL_PATH=./wolfssl NO_FILESYSTEM=1 ./examples/run_examples.sh
204204
205205
# test with older wolfCrypt (v4.7.0)
206-
- name: wolfssl old v4.7.0
206+
- uses: actions/checkout@master
207+
with:
208+
repository: wolfssl/wolfssl
209+
path: wolfssl-old
210+
ref: v4.7.0-stable
211+
- name: wolfssl old
207212
working-directory: ./wolfssl
208213
run: |
209-
git checkout v4.7.0-stable
210214
./configure --enable-wolftpm CFLAGS="-DWOLFSSL_PUBLIC_MP -DWOLFSSL_TEST_CERT -DWOLFSSL_KEY_GEN"
211215
make
212216
sudo make install
213-
- name: wolftpm old wolfssl
217+
- name: wolftpm with old wolfssl
214218
# Old wolfSSL before PR #5075 does not support using a public key in place of private key with
215219
# crypto callbacks enabled.
216220
# To use PKCS7 or TLS Server a dummy private key must be used for older wolfSSL versions.
217221
run: |
218222
./configure --enable-swtpm
219223
make
220224
make check
221-
WOLFSSL_PATH=./wolfssl NO_PUBASPRIV=1 ./examples/run_examples.sh
225+
WOLFSSL_PATH=./wolfssl-old NO_PUBASPRIV=1 ./examples/run_examples.sh
222226
223227
# capture logs on failure
224228
- name: Upload failure logs

0 commit comments

Comments
 (0)