Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add picoquic to CI #3

Merged
merged 2 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,27 @@ jobs:
- uses: actions/checkout@v2
- name: picotls
run: |
pushd ..
git clone https://github.com/huitema/picotls.git
cd picotls
git submodule init
git submodule update
cmake .
make
cd ..
popd
- name: picoquic
run: |
pushd ..
git clone https://github.com/private-octopus/picoquic.git
cd picoquic
cmake .
make
make DESTDIR=$(pwd)/../ install
cd ..
cd ..
popd
- name: build
run: |
./autogen.sh
export LD_LIBRARY_PATH=$(pwd)/usr/local/lib/:$(pwd)/picoquic/:$LD_LIBRARY_PATH
ls usr/local/
ls usr/local/lib
./configure "CFLAGS=-I$(pwd)/usr/local/include/ -I$(pwd)/picoquic/picoquic/" "LDFLAGS=-L$(pwd)/picoquic/"
./configure
make
grep HAVE_QUIC config.status
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ if test "$have_picoquic" = "yes"; then
AC_DEFINE([HAVE_QUIC],[1],[Have QUIC support])
AC_SUBST([HAVE_QUIC],[1])
else
echo "WARNING! Picoquic was not found! Did you 'make install' it?"
echo "WARNING! Picoquic was not found! Is it built in ../picoquic?"
fi
LIBS="$save_LIBS"

Expand Down
Loading