Skip to content

🔖 v1.3.8

🔖 v1.3.8 #74

Workflow file for this run

name: CI
on:
push:
branches:
- master
- ci
pull_request:
branches:
- master
jobs:
Test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macOS-13, ubuntu-latest]
version: ['5.15.2', '6.6.1']
build_type: ['Release']
steps:
-
uses: actions/checkout@v2
-
name: 📦 Cache Qt
id: cache-qt
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/Qt-${{ runner.os }}-${{ matrix.version }}
key: ${{ runner.os }}-QtCache-${{ matrix.version }}
-
name: ⬇ Install Qt
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.version }}
dir: ${{ github.workspace }}/Qt-${{ runner.os }}-${{ matrix.version }}
-
name: 🔧 Configure NetTcp
run: |
mkdir -p build
cmake -DNETTCP_ENABLE_TESTS=ON -DNETTCP_ENABLE_EXAMPLES=ON -DCMAKE_BUILD_TYPE="${{ matrix.build_type }}" -B build -S .
shell: bash
-
name: 🔨 Build NetTcp
run: |
cmake --build build --target "NetTcp" --config "${{ matrix.build_type }}" -j
-
name: 🔨 Build Examples
run: |
cmake --build build --target "NetTcp_EchoClientServer" --config "${{ matrix.build_type }}" -j
cmake --build build --target "NetTcp_EchoServer" --config "${{ matrix.build_type }}" -j
cmake --build build --target "NetTcp_EchoClient" --config "${{ matrix.build_type }}" -j
cmake --build build --target "NetTcp_FuzzDisconnectionClientServer" --config "${{ matrix.build_type }}" -j
cmake --build build --target "NetTcp_FuzzDisconnectionServerClient" --config "${{ matrix.build_type }}" -j
-
name: 🔨 Unit Tests
run: cmake --build build --target "NetTcpTests" --config "${{ matrix.build_type }}" -j 8
-
name: ✅ Unit Tests
run: cd build && ctest --build-config "${{ matrix.build_type }}" --progress --verbose