Skip to content

Commit dab4f3a

Browse files
committed
workflows/test: replace OpenSSL 1.1.0h with OpenSSL 1.1.1w
FFmpeg dropped support for OpenSSL < 1.1.1, so remove the 1.1.0h job and add a 1.1.1w job. Signed-off-by: Jack Lau <jacklau1222gm@gmail.com>
1 parent c89ca46 commit dab4f3a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -359,17 +359,17 @@ jobs:
359359
run: exit 1
360360
runs-on: ubuntu-22.04
361361

362-
openssl-1-1-0h:
363-
name: "With OpenSSL 1.1.0h"
362+
openssl-1-1-1:
363+
name: "With OpenSSL 1.1.1"
364364
needs: build
365365
steps:
366366
- name: Checkout repository
367367
uses: actions/checkout@v4
368-
- name: Build OpenSSL 1.1.0h
368+
- name: Build OpenSSL 1.1.1
369369
run: |
370370
set -euxo pipefail
371-
curl -s -L https://www.openssl.org/source/openssl-1.1.0h.tar.gz | tar xz
372-
cd openssl-1.1.0h
371+
curl -s -L https://www.openssl.org/source/openssl-1.1.1w.tar.gz | tar xz
372+
cd openssl-1.1.1w
373373
./config --prefix=$HOME/.release/openssl
374374
make -j$(nproc) && sudo make install_sw
375375
- name: Download Test File
@@ -409,14 +409,14 @@ jobs:
409409
id: streaming
410410
run: |
411411
set -euxo pipefail
412-
412+
413413
# Check streams in SRS.
414414
for ((i=0; i<10; i++)); do
415415
STREAM=$(curl -s http://localhost:1985/api/v1/streams/ | jq -r '.streams[].name')
416-
if [[ "$STREAM" == "livestream" ]]; then
417-
echo 'Test OK';
416+
if [[ "$STREAM" == "livestream" ]]; then
417+
echo 'Test OK';
418418
echo "has_stream=true" >> $GITHUB_OUTPUT
419-
break;
419+
break;
420420
fi
421421
sleep 3
422422
done
@@ -427,7 +427,7 @@ jobs:
427427
fi
428428
- name: Stop FFmpeg normally
429429
run: |
430-
pkill -SIGINT ffmpeg && sleep 3 ||
430+
pkill -SIGINT ffmpeg && sleep 3 ||
431431
echo "FFmpeg process not found or already stopped."
432432
- name: Show FFmpeg Stdout Log
433433
run: cat ffstdout.log
@@ -682,7 +682,7 @@ jobs:
682682
- pion
683683
- janus
684684
- asan
685-
- openssl-1-1-0h
685+
- openssl-1-1-1
686686
- openssl-3-0
687687
- openssl-latest
688688
- generate-patch

0 commit comments

Comments
 (0)