Skip to content

Commit b79423f

Browse files
committed
Merge remote-tracking branch 'origin/master' into InitSuites_Orderadj
2 parents 74e161e + bc68819 commit b79423f

1,122 files changed

Lines changed: 70560 additions & 25433 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/async.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
./configure ${{ matrix.config }}
3737
make check
3838
39-
- name: Print errors
39+
- name: Print errors
4040
if: ${{ failure() }}
4141
run: |
4242
if [ -f test-suite.log ] ; then

.github/workflows/curl.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,14 @@ jobs:
2626
configure: --enable-curl
2727
install: true
2828

29+
- name: tar build-dir
30+
run: tar -zcf build-dir.tgz build-dir
31+
2932
- name: Upload built lib
3033
uses: actions/upload-artifact@v4
3134
with:
3235
name: wolf-install-curl
33-
path: build-dir
36+
path: build-dir.tgz
3437
retention-days: 5
3538

3639
test_curl:
@@ -54,7 +57,9 @@ jobs:
5457
uses: actions/download-artifact@v4
5558
with:
5659
name: wolf-install-curl
57-
path: build-dir
60+
61+
- name: untar build-dir
62+
run: tar -xf build-dir.tgz
5863

5964
- name: Build curl
6065
uses: wolfSSL/actions-build-autotools-project@v1
@@ -67,4 +72,4 @@ jobs:
6772

6873
- name: Test curl
6974
working-directory: curl
70-
run: make -j test-ci
75+
run: make -j $(nproc) test-ci

.github/workflows/cyrus-sasl.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@ jobs:
2929
# Don't run tests as this config is tested in many other places
3030
check: false
3131

32+
- name: tar build-dir
33+
run: tar -zcf build-dir.tgz build-dir
34+
3235
- name: Upload built lib
3336
uses: actions/upload-artifact@v4
3437
with:
3538
name: wolf-install-sasl
36-
path: build-dir
39+
path: build-dir.tgz
3740
retention-days: 5
3841

3942
sasl_check:
@@ -60,7 +63,9 @@ jobs:
6063
uses: actions/download-artifact@v4
6164
with:
6265
name: wolf-install-sasl
63-
path: build-dir
66+
67+
- name: untar build-dir
68+
run: tar -xf build-dir.tgz
6469

6570
- name: Checkout OSP
6671
uses: actions/checkout@v4
@@ -88,4 +93,11 @@ jobs:
8893
working-directory: sasl
8994
run: |
9095
make -j -C utils testsuite saslpasswd2
91-
$GITHUB_WORKSPACE/osp/cyrus-sasl/${{ matrix.ref }}/run-tests.sh
96+
# Retry up to five times
97+
for i in {1..5}; do
98+
TEST_RES=0
99+
$GITHUB_WORKSPACE/osp/cyrus-sasl/${{ matrix.ref }}/run-tests.sh || TEST_RES=$?
100+
if [ "$TEST_RES" -eq "0" ]; then
101+
break
102+
fi
103+
done

.github/workflows/disabled/haproxy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,3 @@ jobs:
5757
- name: Test HaProxy
5858
working-directory: haproxy
5959
run: make reg-tests reg-tests/ssl VTEST_PROGRAM=$GITHUB_WORKSPACE/VTest/vtest
60-

.github/workflows/disabled/hostap.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181
- name: Checkout hostap
182182
uses: actions/checkout@v4
183183
with:
184-
repository: julek-wolfssl/hostap-mirror
184+
repository: julek-wolfssl/hostap-mirror
185185
path: hostap
186186
ref: ${{ matrix.config.hostap_ref }}
187187
# necessary for cherry pick step
@@ -210,7 +210,7 @@ jobs:
210210
done
211211
212212
- if: ${{ matrix.hostapd }}
213-
name: Setup hostapd config file
213+
name: Setup hostapd config file
214214
run: |
215215
cp wolfssl/.github/workflows/hostap-files/configs/${{ matrix.config.hostap_ref }}/hostapd.config \
216216
hostap/hostapd/.config
@@ -220,7 +220,7 @@ jobs:
220220
EOF
221221
222222
- if: ${{ matrix.wpa_supplicant }}
223-
name: Setup wpa_supplicant config file
223+
name: Setup wpa_supplicant config file
224224
run: |
225225
cp wolfssl/.github/workflows/hostap-files/configs/${{ matrix.config.hostap_ref }}/wpa_supplicant.config \
226226
hostap/wpa_supplicant/.config

.github/workflows/docker-OpenWrt.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,15 @@ jobs:
2828
- uses: actions/checkout@v4
2929
- name: Compile libwolfssl.so
3030
run: ./autogen.sh && ./configure --enable-all && make
31+
# 2024-08-05 - Something broke in the actions. They are no longer following links.
32+
- name: tar libwolfssl.so
33+
working-directory: src/.libs
34+
run: tar -zcf libwolfssl.tgz libwolfssl.so*
3135
- name: Upload libwolfssl.so
3236
uses: actions/upload-artifact@v4
3337
with:
3438
name: openwrt-libwolfssl.so
35-
path: src/.libs/libwolfssl.so
39+
path: src/.libs/libwolfssl.tgz
3640
retention-days: 5
3741
compile_container:
3842
name: Compile container
@@ -50,7 +54,9 @@ jobs:
5054
- uses: actions/download-artifact@v4
5155
with:
5256
name: openwrt-libwolfssl.so
53-
path: Docker/OpenWrt/.
57+
path: .
58+
- name: untar libwolfssl.so
59+
run: tar -xf libwolfssl.tgz -C Docker/OpenWrt
5460
- name: Build but dont push
5561
uses: docker/build-push-action@v5
5662
with:

.github/workflows/grpc.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,14 @@ jobs:
2727
configure: --enable-all 'CPPFLAGS=-DWOLFSSL_RSA_KEY_CHECK -DHAVE_EX_DATA_CLEANUP_HOOKS'
2828
install: true
2929

30+
- name: tar build-dir
31+
run: tar -zcf build-dir.tgz build-dir
32+
3033
- name: Upload built lib
3134
uses: actions/upload-artifact@v4
3235
with:
3336
name: wolf-install-grpc
34-
path: build-dir
37+
path: build-dir.tgz
3538
retention-days: 5
3639

3740
grpc_check:
@@ -65,7 +68,9 @@ jobs:
6568
uses: actions/download-artifact@v4
6669
with:
6770
name: wolf-install-grpc
68-
path: build-dir
71+
72+
- name: untar build-dir
73+
run: tar -xf build-dir.tgz
6974

7075
- name: Checkout OSP
7176
uses: actions/checkout@v4

.github/workflows/hitch.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,14 @@ jobs:
2727
configure: --enable-hitch
2828
install: true
2929

30+
- name: tar build-dir
31+
run: tar -zcf build-dir.tgz build-dir
32+
3033
- name: Upload built lib
3134
uses: actions/upload-artifact@v4
3235
with:
3336
name: wolf-install-hitch
34-
path: build-dir
37+
path: build-dir.tgz
3538
retention-days: 5
3639

3740
hitch_check:
@@ -53,7 +56,9 @@ jobs:
5356
uses: actions/download-artifact@v4
5457
with:
5558
name: wolf-install-hitch
56-
path: build-dir
59+
60+
- name: untar build-dir
61+
run: tar -xf build-dir.tgz
5762

5863
- name: Checkout OSP
5964
uses: actions/checkout@v4
@@ -100,4 +105,4 @@ jobs:
100105
working-directory: ./hitch
101106
run: |
102107
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/build-dir/lib:$LD_LIBRARY_PATH
103-
make check
108+
make check

.github/workflows/hostap-vm.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
wolf_extra_config: --disable-tls13
2525
- build_id: hostap-vm-build2
2626
wolf_extra_config: >-
27-
--enable-wpas-dpp --enable-brainpool --with-eccminsz=192
27+
--enable-wpas-dpp --enable-brainpool --with-eccminsz=192
2828
--enable-tlsv10 --enable-oldtls
2929
name: Build wolfSSL
3030
runs-on: ubuntu-latest
@@ -52,11 +52,14 @@ jobs:
5252
${{ env.wolf_debug_flags }} ${{ matrix.wolf_extra_config }}
5353
install: true
5454

55+
- name: tar build-dir
56+
run: tar -zcf build-dir.tgz build-dir
57+
5558
- name: Upload built lib
5659
uses: actions/upload-artifact@v4
5760
with:
5861
name: ${{ matrix.build_id }}
59-
path: build-dir
62+
path: build-dir.tgz
6063
retention-days: 5
6164

6265
build_uml_linux:
@@ -84,7 +87,7 @@ jobs:
8487
if: steps.cache.outputs.cache-hit != 'true'
8588
uses: actions/checkout@v4
8689
with:
87-
repository: torvalds/linux
90+
repository: torvalds/linux
8891
path: linux
8992

9093
- name: Compile linux
@@ -178,7 +181,9 @@ jobs:
178181
uses: actions/download-artifact@v4
179182
with:
180183
name: ${{ matrix.config.build_id }}
181-
path: build-dir
184+
185+
- name: untar build-dir
186+
run: tar -xf build-dir.tgz
182187

183188
- name: Install dependencies
184189
run: |
@@ -194,7 +199,7 @@ jobs:
194199
- name: Checkout hostap
195200
uses: actions/checkout@v4
196201
with:
197-
repository: julek-wolfssl/hostap-mirror
202+
repository: julek-wolfssl/hostap-mirror
198203
path: hostap
199204
ref: ${{ matrix.config.hostap_ref }}
200205

@@ -228,7 +233,7 @@ jobs:
228233
fi
229234
230235
- if: ${{ matrix.hostapd }}
231-
name: Setup hostapd config file
236+
name: Setup hostapd config file
232237
run: |
233238
cp wolfssl/.github/workflows/hostap-files/configs/${{ matrix.config.hostap_ref }}/hostapd.config \
234239
hostap/hostapd/.config
@@ -238,7 +243,7 @@ jobs:
238243
EOF
239244
240245
- if: ${{ matrix.wpa_supplicant }}
241-
name: Setup wpa_supplicant config file
246+
name: Setup wpa_supplicant config file
242247
run: |
243248
cp wolfssl/.github/workflows/hostap-files/configs/${{ matrix.config.hostap_ref }}/wpa_supplicant.config \
244249
hostap/wpa_supplicant/.config

.github/workflows/ipmitool.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,14 @@ jobs:
3030
# Don't run tests as this config is tested in many other places
3131
check: false
3232

33+
- name: tar build-dir
34+
run: tar -zcf build-dir.tgz build-dir
35+
3336
- name: Upload built lib
3437
uses: actions/upload-artifact@v4
3538
with:
3639
name: wolf-install-ipmitool
37-
path: build-dir
40+
path: build-dir.tgz
3841
retention-days: 5
3942

4043
build_ipmitool:
@@ -50,7 +53,9 @@ jobs:
5053
uses: actions/download-artifact@v4
5154
with:
5255
name: wolf-install-ipmitool
53-
path: build-dir
56+
57+
- name: untar build-dir
58+
run: tar -xf build-dir.tgz
5459

5560
- name: Checkout OSP
5661
uses: actions/checkout@v4
@@ -74,4 +79,3 @@ jobs:
7479
run: |
7580
ldd src/ipmitool | grep wolfssl
7681
ldd src/ipmievd | grep wolfssl
77-

0 commit comments

Comments
 (0)