Skip to content

Commit

Permalink
build with included toxcore on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Jul 21, 2024
1 parent 9092d16 commit ab43c62
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,10 @@ jobs:
command: |
cd _test_python_/; mkfifo ../ext_keys.fifo;sleep 10; if [ -s log.txt ]; then ls -al log.txt;echo "python script ERROR"; cat log.txt;exit 1; fi
- name: install deps
- name: build included toxcore amalgamation
run: |
pwd
mkdir -p build_dir/
cd build_dir/
wget -O toxcore_amalgamation.c 'https://raw.githubusercontent.com/zoff99/c-toxcore/zoff99/zoxcore_local_fork/amalgamation/toxcore_amalgamation.c'
wget -O Makefile 'https://raw.githubusercontent.com/zoff99/c-toxcore/zoff99/zoxcore_local_fork/amalgamation/Makefile'
mkdir -p tox/
wget -O tox/tox.h 'https://raw.githubusercontent.com/zoff99/c-toxcore/zoff99/zoxcore_local_fork/toxcore/tox.h'
wget -O tox/toxutil.h 'https://raw.githubusercontent.com/zoff99/c-toxcore/zoff99/zoxcore_local_fork/toxutil/toxutil.h'
wget -O tox/toxav.h 'https://raw.githubusercontent.com/zoff99/c-toxcore/zoff99/zoxcore_local_fork/toxav/toxav.h'
cd toxcore/
make
ls -al
Expand Down Expand Up @@ -125,7 +118,7 @@ jobs:
-lm \
toxblinkenwall.c rb.c \
-std=gnu99 \
./libtoxcore.a \
../toxcore/libtoxcore.a \
$(pkg-config --cflags --libs libsodium libswresample opus vpx libavcodec libswscale libavformat libavdevice libavutil x264) \
$(pkg-config --cflags --libs sdl2) \
-pthread \
Expand Down Expand Up @@ -169,7 +162,7 @@ jobs:
-lm \
toxblinkenwall.c rb.c \
-std=gnu99 \
./libtoxcore.a \
../toxcore/libtoxcore.a \
$(pkg-config --cflags --libs x11 libsodium libswresample opus vpx libavcodec libswscale libavformat libavdevice libavutil x264) \
-pthread \
-lrt \
Expand Down

0 comments on commit ab43c62

Please sign in to comment.