-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
137 changed files
with
22,901 additions
and
6,940 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ jobs: | |
- name: Building picoquic | ||
run: | | ||
brew reinstall openssl | ||
brew install pkg-config | ||
export PKG_CONFIG_PATH="/usr/local/opt/[email protected]/lib/pkgconfig" | ||
./ci/build_picotls.sh | ||
cmake -S . -B build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
name: "CITestsNoOpenSSL" | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
citests: | ||
name: CI-Tests-No-OpenSSL | ||
runs-on: ubuntu-latest | ||
env: | ||
CC: clang | ||
CXX: clang++ | ||
PTLS_CMAKE_OPTS: -DWITH_FUSION=OFF | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
# We must fetch at least the immediate parents so that if this is | ||
# a pull request then we can checkout the head. | ||
fetch-depth: 2 | ||
submodules: 'recursive' | ||
|
||
- name: Building picoquic | ||
run: | | ||
sudo apt-get install clangd | ||
sudo apt-get install -y libssl-dev | ||
echo $CC | ||
echo $CXX | ||
# $CC --version | ||
./ci/build_picotls.sh | ||
cmake -S . -B build "-DWITH_OPENSSL=OFF" | ||
cmake --build build | ||
- name: Perform Unit Tests | ||
run: | | ||
ulimit -c unlimited -S | ||
cd build | ||
make picoquic_ct | ||
./picoquic_ct -S .. minicrypto_is_last minicrypto && QUICRESULT=$? | ||
if [[ ${QUICRESULT} == 0 ]]; then exit 0; fi; | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
name: "MbedTLS-test" | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
mbedtls: | ||
name: MbedTLS-test | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
# We must fetch at least the immediate parents so that if this is | ||
# a pull request then we can checkout the head. | ||
fetch-depth: 2 | ||
submodules: 'recursive' | ||
|
||
- name: Installing MbedTLS | ||
run: | | ||
pwd | ||
cd .. | ||
git clone https://github.com/Mbed-TLS/mbedtls | ||
cd mbedtls | ||
echo "cloned mbedtls" | ||
mkdir build | ||
cd build | ||
cmake -S .. . | ||
echo "cmake done" | ||
make | ||
echo "compiled MbedTLS" | ||
pwd | ||
cd ../../picoquic | ||
pwd | ||
ls | ||
- name: Building picoquic | ||
run: | | ||
sudo apt-get install clangd | ||
sudo apt-get install -y libssl-dev | ||
echo $CC | ||
echo $CXX | ||
# $CC --version | ||
./ci/build_picotls.sh | ||
cmake -S . -B build "-DWITH_OPENSSL=OFF" "-DWITH_MBEDTLS=ON" | ||
cmake --build build | ||
- name: Perform Unit Tests | ||
run: | | ||
ulimit -c unlimited -S | ||
cd build | ||
make picoquic_ct | ||
./picoquic_ct -S .. mbedtls_crypto minicrypto_is_last mbedtls && QUICRESULT=$? | ||
if [[ ${QUICRESULT} == 0 ]]; then exit 0; fi; | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.