Skip to content

Commit a98b6d8

Browse files
committed
also compile x265 encoder parts on amalgamation test
1 parent 38879ca commit a98b6d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/amalgamation_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: compile test with ToxAV
5555
run: |
5656
cd amalgamation
57-
gcc -O3 -fPIC -g -fsanitize=address -fno-omit-frame-pointer amalgamation_test.c -DTEST_WITH_TOXAV $(pkg-config --cflags --libs libsodium opus vpx libavcodec libavutil x264 x265) -pthread -o amalgamation_test_av
57+
gcc -O3 -fPIC -g -fsanitize=address -fno-omit-frame-pointer amalgamation_test.c -DHAVE_H265_ENCODER -DTEST_WITH_TOXAV $(pkg-config --cflags --libs libsodium opus vpx libavcodec libavutil x264 x265) -pthread -o amalgamation_test_av
5858
5959
- name: check binary with ToxAV
6060
run: |

amalgamation/amalgamation_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* compile a simple tox program with toxcore amalgamation (on a linux system):
33
*
44
* with ToxAV:
5-
* gcc -O3 -fPIC amalgamation_test.c -DTEST_WITH_TOXAV $(pkg-config --cflags --libs libsodium opus vpx libavcodec libavutil x264) -pthread -o amalgamation_test_av
5+
* gcc -O3 -fPIC amalgamation_test.c -DHAVE_H265_ENCODER -DTEST_WITH_TOXAV $(pkg-config --cflags --libs libsodium opus vpx libavcodec libavutil x264 x265) -pthread -o amalgamation_test_av
66
*
77
* without ToxAV:
88
* gcc -O3 -fPIC amalgamation_test.c $(pkg-config --cflags --libs libsodium) -pthread -o amalgamation_test

0 commit comments

Comments
 (0)