Skip to content

Update to version 3.1 #5

Update to version 3.1

Update to version 3.1 #5

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
gtest:
name: gtest
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake libssl-dev openssl
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install GoogleTest
run: |
mkdir build
cd build
cmake ..
sudo make install
working-directory: test/gtest/googletest
- name: Build
run: |
mkdir build
cd build
cmake ..
make -j4
working-directory: test/gtest
- name: Run tests
run: ./RunFilteredTests.sh ${{ matrix.protocol }} ${{ matrix.mode }} ${{ matrix.certType }}
working-directory: test/gtest
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results-gtest_${{ matrix.protocol }}-${{ matrix.mode }}-${{ matrix.certType }}
path: test/gtest/results.json
if-no-files-found: error
strategy:
matrix:
protocol: ["tcp", "tls"]
mode: ["continuous", "fragmentation", "general"]
certType: ["ec", "rsa"]